pip install -r requirements.txt # Install requirements(pypiserver).
python setup.py sdist # Packet compression.
pypi-server -p 8999 dist/ # Run localhost.
python setup.py sdist upload -r http://localhost:8999 # Packet compression + update packages on host.
sudo docker build -t pypiserver -f Dockerfile . # => Docker build
sudo docker run -p 8999:8998 pypiserver # => Docker Run
pip install -i http://localhost:8999 my_test_lib==0.0.1
pip install -r requirements_test.txt