1. Create files:
__init__.py setup.py README.md LICENSE
2. Check for setuptools and wheel:
pip install --user --upgrade setuptools wheel
3. Generate package:
py setup.py sdist bdist_wheel
4. Upload to pip:
twine upload dist/*
A package is basically a directory with Python files and a file with the name __init__.py
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/*