Skip to content

Commit

Permalink
Build improvements, including wheel support.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Dec 4, 2023
1 parent c4b9746 commit 06eecda
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- name: Install dependencies
run: |
make install
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased](https://github.com/alexdlaird/hookee/compare/2.1.0...HEAD)

## [2.1.0](https://github.com/alexdlaird/hookee/compare/2.0.8...2.1.0) - 2023-12-04
### Fixed
- Build improvements.
### Added
- Build improvements, including `wheel` support.

### Changed
- Bumped `pyngrok` version required to >7.0.0.
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ docs: install
local:
@rm -rf *.egg-info dist
@( \
$(PYTHON_BIN) setup.py sdist; \
$(PYTHON_BIN) -m pip install --upgrade pip; \
$(PYTHON_BIN) -m pip install --upgrade build; \
$(PYTHON_BIN) -m build; \
$(PYTHON_BIN) -m pip install dist/*.tar.gz; \
)

Expand All @@ -50,11 +52,9 @@ validate-release:
@if [[ $$(grep "__version__ = \"${VERSION}\"" setup.py) == "" ]] ; then echo "Version not bumped in setup.py" & exit 1 ; fi
@if [[ $$(grep "__version__ = \"${VERSION}\"" hookee/hookeemanager.py) == "" ]] ; then echo "Version not bumped in hookee/hookeemanager.py" & exit 1 ; fi

upload:
@rm -rf *.egg-info dist
upload: local
@( \
source venv/bin/activate; \
python -m pip install twine; \
python setup.py sdist; \
python -m twine upload dist/*; \
$(PYTHON_BIN) -m pip install --upgrade twine; \
$(PYTHON_BIN) -m build; \
$(PYTHON_BIN) -m twine upload dist/*; \
)

0 comments on commit 06eecda

Please sign in to comment.