Use recommended command in build.sh

The use of setup.py as a command line tool is deprecated.
build.sh is updated to use the recommended building command.
This commit is contained in:
Tero Paloheimo 2023-12-30 20:07:42 +02:00
parent 3e89aa4fcf
commit 75454b8313
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
rm -rf build/ dist/ safeeyes.egg-info/ .eggs/
python3 setup.py sdist bdist_wheel
pip3 install build
python3 -m build
twine upload --repository pypitest dist/safeeyes*.tar.gz
clear >$(tty)
twine upload --repository pypitest dist/safeeyes*.whl
twine upload --repository pypitest dist/safeeyes*.whl