After self-hosting, wire PyPI: create HOSTED/PROXY/GROUP, configure .pypirc and pip.conf, smoke-test with a minimal package, and fix 401 and No matching distribution.