Testing a package locally
pip3 uninstall -y bph_pal
rm -rf dist
python3 setup.py sdist
pip3 install dist/bph_pal-x.x.x.tar.gz
Upload to pip
twine upload dist/*
Basic test
python3 setup.py test
Reset regression test
python3 setup.py test --addopts --regtest-reset
View regression output
python3 setup.py test --addopts --regtest-tee