Skip to content

Commit 5d555fa

Browse files
committed
Chore: Improve packaging by using build. Start providing wheels.
1 parent 80317d2 commit 5d555fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ format: install-releasetools
6464
# Release this piece of software
6565
# Synopsis:
6666
# make release bump=minor (major,minor,patch)
67-
release: bumpversion push sdist pypi-upload
67+
release: bumpversion push build pypi-upload
6868

6969

7070
# -------------
@@ -86,11 +86,11 @@ bumpversion: install-releasetools
8686
push:
8787
git push && git push --tags
8888

89-
sdist:
90-
@$(python) setup.py sdist
89+
build:
90+
@$(python) -m build
9191

9292
pypi-upload: install-releasetools
93-
twine upload --skip-existing --verbose dist/*.tar.gz
93+
twine upload --skip-existing --verbose dist/{*.tar.gz,*.whl}
9494

9595
install-doctools: setup-virtualenv
9696
@$(pip) install --quiet --requirement requirements-docs.txt --upgrade

requirements-release.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ twine<5
33
keyring<24
44
black<24
55
isort<6
6+
build<1

0 commit comments

Comments
 (0)