python -m pip install --upgrade build python -m pip install --upgrade twine
python -m build
python -m twine upload --repository testpypi dist/*
python -m twine upload dist/*
You can pip install -e {external directory} to test from another project
You can also pip install {path to .whl file} to test the package.