Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78942
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prvs=353e1fda4=jeanmichel@sequans.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.048 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'desired.': 0.07; 'elegant,': 0.09; 'subject:few': 0.09; 'subject:virtualenv': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'deletes': 0.16; 'modules,': 0.16; 'script,': 0.16; 'url:pip': 0.16; 'thursday,': 0.16; 'packages.': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'specify': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'somewhere': 0.26; 'header:In- Reply-To:1': 0.27; "skip:' 10": 0.31; 'file:': 0.31; 'ok.': 0.31; 'option.': 0.31; 'question:': 0.31; 'probably': 0.32; '-----': 0.33; 'guess': 0.33; 'could': 0.34; 'but': 0.35; 'installing': 0.36; 'url:org': 0.36; 'virtual': 0.37; 'email addr:python.org': 0.37; 'thank': 0.38; 'files': 0.38; 'subject:': 0.39; 'you.': 0.62; 'information': 0.63; 're:': 0.63; 'received:194': 0.64; 'email name:python-list': 0.65; 'to:addr:gmail.com': 0.65; 'notice:': 0.67; 'person,': 0.68; 'privileged.': 0.69; 'disclose': 0.74; 'hand': 0.80; 'medium.': 0.91; 'vip': 0.96 |
| X-IronPort-AV | E=Sophos;i="5.04,691,1406584800"; d="scan'208";a="3437038" |
| Date | Fri, 10 Oct 2014 13:17:11 +0200 (CEST) |
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| To | Gelonida N <gelonida@gmail.com> |
| In-Reply-To | <m16b60$fuh$1@ger.gmane.org> |
| Subject | Re: virtualenv question: include just a few site packages |
| MIME-Version | 1.0 |
| X-Mailer | Zimbra 7.2.7_GA_2942 (ZimbraWebClient - GC37 (Linux)/7.2.7_GA_2942) |
| Content-Type | text/plain; charset="utf-8" |
| Content-Transfer-Encoding | base64 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14745.1412939832.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1412939832 news.xs4all.nl 2947 [2001:888:2000:d::a6]:33528 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78942 |
Show key headers only | View raw
----- Original Message ----- > From: "Gelonida N" <gelonida@gmail.com> > To: python-list@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 / > symlinks, > 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: https://pip.readthedocs.org/en/1.1/requirements.html JM -- 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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: virtualenv question: include just a few site packages Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-10-10 13:17 +0200
csiph-web