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


Groups > comp.lang.python.announce > #60

multipy -- Install multiple Python versions locally

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <petri@digip.org>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; 'python.': 0.05; '2.7': 0.05; '3.2': 0.07; 'default,': 0.07; 'mode,': 0.07; 'python': 0.07; '3.x': 0.09; 'newest': 0.09; 'path.': 0.09; 'url:github': 0.09; 'version,': 0.14; '2.5)': 0.16; '2.5:': 0.16; '2.7:': 0.16; 'compiler,': 0.16; 'compliant': 0.16; 'directory:': 0.16; 'gzip': 0.16; 'installs': 0.16; 'integration.': 0.16; 'posix': 0.16; 'subject:versions': 0.16; 'libraries': 0.16; 'compiled': 0.18; 'versions': 0.18; 'compile': 0.19; 'shell': 0.19; 'usage': 0.20; 'e.g.': 0.22; '2.4': 0.23; 'script.': 0.23; 'version': 0.25; 'downloads': 0.25; 'extract': 0.25; 'subject: -- ': 0.25; 'installation': 0.25; 'script': 0.26; "i'm": 0.26; '(in': 0.27; 'installed': 0.29; 'list': 0.30; 'tar': 0.31; 'source': 0.32; '(including': 0.33; 'headers': 0.33; 'required.': 0.33; 'requires': 0.35; 'header:User-Agent:1': 0.35; 'source,': 0.35; 'charset:us-ascii': 0.36; 'should': 0.37; 'to:addr:python-announce-list': 0.38; 'install': 0.38; 'used': 0.38; 'under': 0.39; 'announce': 0.39; 'to:addr:python.org': 0.39; "it's": 0.40; 'activate': 0.60; 'received:62': 0.67; 'pleased': 0.68; 'compiles': 0.84; 'easy_install': 0.84
Date Tue, 29 Mar 2011 21:44:32 +0300
From Petri Lehtinen <petri@digip.org>
To python-announce-list@python.org
Subject multipy -- Install multiple Python versions locally
Mail-Followup-To Petri Lehtinen <petri@digip.org>, python-announce-list@python.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-SA-Exim-Connect-IP 62.73.55.17
X-SA-Exim-Mail-From petri@digip.org
X-SA-Exim-Scanned No (on mail.kapsi.fi); SAEximRunCond expanded to false
X-Mailman-Approved-At Wed, 30 Mar 2011 17:01:23 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.15.1301497283.2990.python-announce-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 82.94.164.166
X-Trace 1301497284 news.xs4all.nl 81473 [::ffff:82.94.164.166]:44670
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:60

Show key headers only | View raw


I'm pleased to announce multipy, a shell utility that helps you
install and manage multiple local Python installations. It's available
at

    https://github.com/akheron/multipy

It downloads source tarballs for the newest version of any Python X.Y,
compiles the source, and installs everything under a single directory
hierarchy. By default, the install location is ~/multipy.

distribute is also installed along with each Python version, as well
as an activate script (in the spirit of virtualenv) for easier shell
integration.

multipy is a single shell script. It requires a POSIX compliant shell,
wget, tar and gzip to download and extract source tarballs, and a
compiler, development headers and libraries to compile Python. No
existing Python installation is required. multipy should work on any
Unix-like system that Python can be compiled on.

Python versions 2.4 and up can be installed (including all 3.x
releases).


Usage examples:

Install Python 2.7 and 3.2:

    $ multipy install 2.7 3.2

Install all supported Python versions (2.4 and up):

    $ multipy install all

List installed Python versions:

    $ multipy list

Remove Python 2.7:

    $ multipy remove 2.7

Use a custom installation directory:

    $ multipy -b /path/to/somewhere install 3.2

Tweak PATH to "activate" the local Python 2.5:

    $ . $(multipy activate 2.5)

After this, e.g. python and easy_install can be used without
an absolute path. To leave this mode, use deactivate.

Regards,
Petri Lehtinen

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


Thread

multipy -- Install multiple Python versions locally Petri Lehtinen <petri@digip.org> - 2011-03-29 21:44 +0300

csiph-web