- Create Python Module.
- Make desired changes in
setup.py
that you want to reflect on Pypi website. - Building your Project
python setup.py sdist bdist_wheel
- Check on builded files
twine check dist/*
- Test Publish
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Version Publish
twine upload dist/*
Complete Tutorial : Link