Created
February 4, 2013 17:32
-
-
Save skryv/4708189 to your computer and use it in GitHub Desktop.
Run a local Pypi package server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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