virtualenv question: include just a few site packages
jeanmichel at sequans.com
Fri Oct 10 13:17:11 CEST 2014
----- Original Message -----
> From: "Gelonida N" <gelonida at gmail.com>
> To: python-list at python.org
> Sent: Thursday, 9 October, 2014 5:55:44 PM
> Subject: Re: virtualenv question: include just a few site packages
> > You could build a virtual machine, installing only your VIP
> > modules, and create virtual environment on this virtual machine,
> > using the system site packages.
> Yeah that's an option.
> However I guess in this case it's probably faster to write a script,
> that 'post-processes' the virtualenv and just deletes files /
> that are not desired. Definitely not elegant, but probably OK. On the
> other hand a VM migfht help finding out which files to keep.
if you have the package somewhere of those modules you'd want to install you can specify local packages in the pip_requirement.txt file:
-- IMPORTANT NOTICE:
The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the Python-list