1. create files: Nameofmodule(folder) setup.py README.txt LICINSE.txt MANIFEST.in __init__.py(in folder) 2. pip install setuptools wheel 3. py setup.py sdist bdist_wheel or python3 setup.py sdist bdist_wheel 4. twine upload dist/*