Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37968

Re: A new script which creates Python 3.3 venvs with Distribute and pip installed in them

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subclass': 0.09; 'subject:script': 0.09; 'url:github': 0.09; 'illustrate': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:3.3': 0.16; 'subject:which': 0.16; 'shell': 0.18; 'runs': 0.22; 'example': 0.23; 'this:': 0.23; "i've": 0.23; 'command': 0.24; 'script': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.28; 'writes:': 0.29; 'install': 0.29; 'distribute': 0.30; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'help,': 0.32; 'to:addr:python-list': 0.33; 'doing': 0.35; 'similar': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'subject:with': 0.36; 'charset:us- ascii': 0.36; 'option': 0.37; 'subject:: ': 0.38; 'url:docs': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subjectcharset:utf-8': 0.72; 'subject:\t': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Vinay Sajip <vinay_sajip@yahoo.co.uk>
Subject Re: A new script which creates Python 3.3 venvs with Distribute and pip installed in them
Date Wed, 30 Jan 2013 22:18:50 +0000 (UTC)
References <1359576541.17079.YahooMailNeo@web171404.mail.ir2.yahoo.com> <CALwzidmS9PvmN7EWT5Bd82V6OziqB=C5-MP57o-q92m=jRgGHg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host sea.gmane.org
User-Agent Loom/3.14 (http://gmane.org/)
X-Loom-IP 82.152.15.113 (Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0)
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.1234.1359584342.2939.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1359584342 news.xs4all.nl 6858 [2001:888:2000:d::a6]:48666
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:37968

Show key headers only | View raw


Ian Kelly <ian.g.kelly <at> gmail.com> writes:

> 
> I have a shell script for this:
> 

Sure - there's a similar one at

https://gist.github.com/4591655

The main purpose of the script was to illustrate how to subclass venv.EnvBuilder,
and I've added it as an example to the 3.3 and in-development documentation:

http://docs.python.org/3/library/venv.html#an-example-of-extending-envbuilder

Doing it in Python means that it runs cross-platform, offers a few benefits
such as command line help, or the option to install Distribute but not pip.

Regards,

Vinay Sajip

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: A new script which creates Python 3.3 venvs with Distribute and	pip installed in them Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-30 22:18 +0000

csiph-web