Skip to content

This repository implements an example of creating a private pip repository. Shows the basic commands to run and use.

Notifications You must be signed in to change notification settings

as1mple/Private-PIP-Server

Repository files navigation

Base-command

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.

Docker-version

sudo docker build -t pypiserver -f Dockerfile . # => Docker build
sudo docker run -p 8999:8998 pypiserver # => Docker Run

Example №1

pip install -i http://localhost:8999 my_test_lib==0.0.1

Example №2

pip install -r requirements_test.txt

About

This repository implements an example of creating a private pip repository. Shows the basic commands to run and use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published