Skip to content

Commit

Permalink
chore(release): Change pyproject.toml name to match PyPi (#214)
Browse files Browse the repository at this point in the history
* chore(release): Change pyproject.toml name to match PyPi
  • Loading branch information
nj1973 authored Jul 18, 2024
1 parent cb817b9 commit 539e42e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SHELL := /bin/bash
TARGET_DIR=target/offload

OFFLOAD_VERSION=$(shell cat version)
GOE_WHEEL=goe-$(shell echo $(OFFLOAD_VERSION) | tr 'A-Z-' 'a-z.')0-py3-none-any.whl
GOE_WHEEL=goe_framework-$(shell echo $(OFFLOAD_VERSION) | tr 'A-Z-' 'a-z.')0-py3-none-any.whl

BUILD=$(strip $(shell git rev-parse --short HEAD))

Expand Down Expand Up @@ -70,7 +70,7 @@ target: python-goe spark-listener offload-env
rm -rf $(TARGET_DIR)/setup/sql $(TARGET_DIR)/setup/python
mkdir -p $(TARGET_DIR)/cache
mkdir -p $(TARGET_DIR)/setup/sql && cp -a sql/oracle/source/* $(TARGET_DIR)/setup
mkdir -p $(TARGET_DIR)/lib && cp dist/goe-*.whl $(TARGET_DIR)/lib
mkdir -p $(TARGET_DIR)/lib && cp dist/goe_framework-*.whl $(TARGET_DIR)/lib
cp version $(TARGET_DIR)
cp LICENSE $(TARGET_DIR)
cp AUTHORS $(TARGET_DIR)
Expand Down Expand Up @@ -135,7 +135,7 @@ python-goe-destroy:
python-goe-clean:
@rm -rf .pytest_cache build/ dist/ .eggs/
@find . -name '*.egg-info' -exec rm -rf {} +
@find . -name '*.egg' -exec rm -f {} +
@find . -name '*.egg' -exec rm -rf {} +
@find . -name '*.pyc' -exec rm -f {} +
@find . -name '*.pyo' -exec rm -f {} +
@find . -name '__pycache__' -exec rm -rf {} +
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ python3 -m venv .venv && . .venv/bin/activate
5) Install the GOE Python package:
```
cd $OFFLOAD_HOME
GOE_WHEEL="goe-$(cat version | tr 'A-Z-' 'a-z.')0-py3-none-any.whl"
GOE_WHEEL="goe_framework-$(cat version | tr 'A-Z-' 'a-z.')0-py3-none-any.whl"
python3 -m pip install lib/${GOE_WHEEL}
```

Expand Down
2 changes: 1 addition & 1 deletion src/goe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

import importlib.metadata

__version__ = importlib.metadata.version("goe")
__version__ = importlib.metadata.version("goe-framework")

0 comments on commit 539e42e

Please sign in to comment.