Use build for packaging

This commit is contained in:
Ivan Habunek 2024-04-13 09:09:17 +02:00
parent 880848fae3
commit 77d8e7d7b5
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
.PHONY: clean publish test docs .PHONY: clean publish test docs
dist : dist:
python setup.py sdist --formats=gztar,zip python -m build
python setup.py bdist_wheel --python-tag=py3
publish : publish :
twine upload dist/*.tar.gz dist/*.whl twine upload dist/*.tar.gz dist/*.whl