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 813e008 commit 441cb3d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/alexdlaird/pyngrok/compare/7.0.2...HEAD)
## [Unreleased](https://github.com/alexdlaird/pyngrok/compare/7.0.3...HEAD)

## [7.0.3](https://github.com/alexdlaird/pyngrok/compare/7.0.2...7.0.3) - 2023-12-04
### Added
- Build improvements, including `wheel` support.

## [7.0.2](https://github.com/alexdlaird/pyngrok/compare/7.0.1...7.0.2) - 2023-12-01
### Changed
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 @@ -61,11 +63,9 @@ test-downstream-dependency:
rm -rf pyngrok-example-django; \
)

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/*; \
)
2 changes: 1 addition & 1 deletion pyngrok/ngrok.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

__author__ = "Alex Laird"
__copyright__ = "Copyright 2023, Alex Laird"
__version__ = "7.0.2"
__version__ = "7.0.3"

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__author__ = "Alex Laird"
__copyright__ = "Copyright 2023, Alex Laird"
__version__ = "7.0.2"
__version__ = "7.0.3"

name = "pyngrok" if os.environ.get("BUILD_PACKAGE_AS_NGROK", "False") != "True" else "ngrok"

Expand Down

0 comments on commit 441cb3d

Please sign in to comment.