Your PyPI server.
Relative hrefs behind a web proxy work.
Locally served web pages.
All packages or simple
pip install --index-url http://127.0.0.1:8080/simple/ PACKAGE
twine upload -u pypi -p pypi --repository-url http://192.168.1.27:8080/ dist/*