Skip to content

Instantly share code, notes, and snippets.

@skryv
Created February 4, 2013 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save skryv/4708189 to your computer and use it in GitHub Desktop.
Save skryv/4708189 to your computer and use it in GitHub Desktop.
Run a local Pypi package server
# Create a local directory for the pypi server
mkdir pypi-local
cd pypi-local
# Make a separate virtual environment for the pypi server
virtualenv env
source env/bin/activate
#install the pypiserver
pip install pypiserver
mkdir ./packages
# copy some source packages or eggs to this directory
pypi-server -p 8080 ./packages
pip install -i http://localhost:8080/simple/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment