Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37986
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <pombredanne@nexb.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'offline': 0.03; 'url:pypi': 0.03; 'subject:: [': 0.03; 'subject:Python': 0.05; 'pypi': 0.07; 'setup.py': 0.07; 'python': 0.09; 'sane': 0.09; 'script,': 0.09; 'subject:script': 0.09; 'unpack': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.10; 'index': 0.13; '"python': 0.16; 'install"': 0.16; 'nowadays': 0.16; 'packages:': 0.16; 'philippe': 0.16; 'subject: \n ': 0.16; 'subject:3.3': 0.16; 'subject:which': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'subject:] ': 0.19; 'python?': 0.20; 'fairly': 0.21; 'people,': 0.21; 'environments': 0.22; 'extends': 0.22; 'installation': 0.23; 'demonstrate': 0.23; 'third-party': 0.23; 'installed': 0.23; "i've": 0.23; 'cc:2**1': 0.24; 'script': 0.24; 'allows': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'wonder': 0.27; 'message-id:@mail.gmail.com': 0.27; 'closer': 0.29; 'it."': 0.29; 'source': 0.29; 'install': 0.29; 'distribute': 0.30; 'sense': 0.31; 'code': 0.31; 'url:python': 0.32; 'skip:- 10': 0.32; 'could': 0.32; '(with': 0.33; 'recommended': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'created': 0.36; 'tool': 0.36; 'but': 0.36; 'url:org': 0.36; 'useful': 0.36; 'subject:with': 0.36; 'supporting': 0.37; 'does': 0.37; 'why': 0.37; 'virtual': 0.37; 'rather': 0.37; 'some': 0.38; 'instead': 0.39; 'step': 0.39; '30,': 0.62; 'provide': 0.62; 'management': 0.65; '.....': 0.75; 'directly.': 0.78; '2013': 0.84; 'to:addr:yahoo.co.uk': 0.84; '650': 0.91; 'officially': 0.91; 'package"': 0.91 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=keVNaRrYDlAvb+SlbmiyJMaP7DRiPvAfu2LSNYVKY24=; b=mtdgZtmUJ5igdU7qNpMLSo5oYbBG5WvuBsV/eVnnzhm7jIb1UtLYfvj3RDFgFSHD0y Xx+404aTWlk0XJQefHR/pVcvJXS4+bAlQBYQE7xIG2qQLrEsJalMex8FB4f6usyPhB81 Oyl/OdJ210uVxIL2zqVUnPn7WXXQZ2PcY8VDGHwz2sd21dMNRJys0xLCFKQgz9r/IfDE ewTVeTsdiKaPohEmTaJ8RcqR3B5tw0haXkDpxRXqGakgIABVkgb0pUtBNCNi7CXHdzYr PWsbzXapZ/cucaF4SuOgD09IgISgaNWWdc5zuYdZxbKqvva+RhYsBzd19MzWzDnOKKuE 64lw== |
| X-Received | by 10.112.49.66 with SMTP id s2mr3044808lbn.16.1359623157179; Thu, 31 Jan 2013 01:05:57 -0800 (PST) |
| MIME-Version | 1.0 |
| In-Reply-To | <1359576541.17079.YahooMailNeo@web171404.mail.ir2.yahoo.com> |
| References | <1359576541.17079.YahooMailNeo@web171404.mail.ir2.yahoo.com> |
| From | Philippe Ombredanne <pombredanne@nexb.com> |
| Date | Thu, 31 Jan 2013 10:05:17 +0100 |
| Subject | Re: [Distutils] A new script which creates Python 3.3 venvs with Distribute and pip installed in them |
| To | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Gm-Message-State | ALoCoQkIOD0ln/WlnOp5hg35hyU4RDHOO40qWOlzJxSXTck8fG8rKDugFQfEmlJwyBPp9ng8AbVI |
| Cc | "python-list@python.org" <python-list@python.org>, "distutils-sig@python.org" <distutils-sig@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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1244.1359623159.2939.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1359623159 news.xs4all.nl 6953 [2001:888:2000:d::a6]:48665 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37986 |
Show key headers only | View raw
On Wed, Jan 30, 2013 at 9:09 PM, Vinay Sajip <vinay_sajip@yahoo.co.uk> wrote: > Python 3.3 includes a script, pyvenv, which is used to create virtual environments. > However, Distribute and pip are not installed in such environments - because, > though they are popular, they are third-party packages - not part of Python. > The Python 3.3 venv machinery allows customisation of virtual environments > fairly readily. To demonstrate how to do this, and to provide at the same time > a script which might be useful to people, I've created a script, pyvenvex.py, at > https://gist.github.com/4673395 > which extends the pyvenv script to not only create virtual environments, but to also install Distribute and pip into them. Excellent and one step closer to sane package management .... I wonder if you could not source instead the code that is directly in the virtualenv.py scripts? it also includes the packed distribute and pip .... Meaning that would allow the installation entirely offline (with the --never-download venv flag) And btw, why pip is not part of the standard Python? This is nowadays officially recommended on Pypi as the tool to use to install package.... Per http://pypi.python.org/pypi "Get Packages: To use a package from this index either "pip install package" (get pip) or download, unpack and "python setup.py install" it." This does not make sense to me: I know about some of the controversies .... but this is rather inconsistent to recommend using a tool and not supporting it directly. -- Philippe Ombredanne +1 650 799 0949 | pombredanne@nexB.com DejaCode Enterprise at http://www.dejacode.com nexB Inc. at http://www.nexb.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: [Distutils] A new script which creates Python 3.3 venvs with Distribute and pip installed in them Philippe Ombredanne <pombredanne@nexb.com> - 2013-01-31 10:05 +0100
csiph-web