build
is needed to build the package, you can install it with:
pip install build
Then for build the package just run:
python3 -m build
packages will be in dist/
folder
Just run:
python3 -m twine upload dist/*
If you want to upload on the test repository of pypi:
python3 -m twine upload --repository testpypi dist/*