pip install .[dev]add [dev] to install the extras_require packages, required to build a release, if you have defined them in your setup.py. Example:
extras_require={"dev": ["twine>=4.0.2", "build>=1.0.3"]},Create binairies
python setup.py bdistCreate whl
python setup.py bdist_wheelpython -m buildUsing twine, check if everything is ok
twine check dist/*Then upload to PyPi test or production
twine upload -r testpypi dist/*
twine upload dist/*