Reference
https://packaging.python.org/tutorials/packaging-projects/
https://dzone.com/articles/executable-package-pip-install
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
Cheat sheet
# Install all needed packages
python -m pip install --upgrade pip setuptools wheel
python -m pip install tqdm
python -m pip install --upgrade twine
python -m pip install --upgrade build
# Prepare the package structure and all needed files
# Build the package
python -m build
# Upload to test
python -m twine upload --repository testpypi dist/*
# Upload to prod
python -m twine upload --repository pypi dist/*
# Install the package by specific the repo
python -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE