Linux + virtualenv + pip using some system packages

I would like to reuse certain packages installed on the system while ignoring all others.

I created mkvirtualenv --distribute --extra-search-dir=/usr/lib/python2.7/dist-packages/IPython myenv

(default --no-system-packages

, but pip freeze

don't know the ipython package.

Is there a way to download specific packages already installed on the system ( ipython

, numpy

etc.)?

thank

+3


source to share


1 answer


Not exactly what you're looking for, but you can create a custom bootstrap script like this:



http://www.virtualenv.org/en/latest/index.html#creating-your-own-bootstrap-scripts

+2


source







All Articles