Question

I would like to reuse certain packages installed systemwide, while ignoring all others.

I created mkvirtualenv --distribute --extra-search-dir=/usr/lib/python2.7/dist-packages/IPython myenv (defaulting to --no-system-packages, but pip freeze has no knowledge of ipython package.

Is there a way to pickup certain packages already installed system wide (ipython, numpy, etc)?

Thanks

Était-ce utile?

La solution

Not entirely what you are 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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top