Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.tele2net.at!newsfeed.utanet.at!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'friend.': 0.07; 'problem:': 0.07; 'versions,': 0.07; 'e.g.,': 0.09; 'sub': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; '(both': 0.16; '2.7.3': 0.16; 'smith"': 0.16; 'subject:versions': 0.16; 'subject:python': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'version.': 0.19; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'compilation': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'appreciated': 0.26; 'header :In-Reply-To:1': 0.27; 'generally': 0.29; 'skip:& 60': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'gcc': 0.31; 'allows': 0.31; 'run': 0.32; 'url:python': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'structure': 0.39; 'url:mail': 0.40; 'full': 0.61; 'email addr:gmail.com': 0.63; 'different': 0.65; 'strategies': 0.77; 'article': 0.77; '2.7.1': 0.84; '3.3.1': 0.84; 'ana': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4Db8YcjDhEzty2yx3w5GHYCOuckHRDEMJhl/b0OPNF0=; b=WjzeeAT2fLTQqkQ+iq8yqBO1N8thC3NI9wb2s8yGYTFVL4fscL/uAlk7tB/2gSfoW6 9oZNhCt6x+NI5/y+UnjzvdgpvOnm6fOnaeS0/A9wIvOMOXbgMmx9xwBQ6k2lut5TE0dw +UdFlc4xdftBtrwXbyAoZsE/LcVRwOaEI8kTUfnHIuqXC9UkncohnrQVoBwEw2QDPaAI 9yjhn1zweXRnkU/SiTEnl96MvH2TopranLJZRbpfh84JmSQuo9rd3+gI4JkjpTXsnkzC ZLEJ+TYcapUZirHbPPoCdwByekORQ2v2dp2lbUrKn+0NQ0pr2Qey98dQS8hQfEnfyO1Y 1HrA== MIME-Version: 1.0 X-Received: by 10.49.41.34 with SMTP id c2mr4398659qel.16.1367996846070; Wed, 08 May 2013 00:07:26 -0700 (PDT) In-Reply-To: References: <72f93710-9812-441e-8d3d-f221d5698f69@googlegroups.com> Date: Wed, 8 May 2013 08:07:25 +0100 Subject: Re: multiple versions of python From: =?ISO-8859-1?Q?F=E1bio_Santos?= To: Roy Smith Content-Type: multipart/alternative; boundary=047d7bdca7c21083f504dc2f960f 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 86 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367996848 news.xs4all.nl 16008 [2001:888:2000:d::a6]:47255 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44943 --047d7bdca7c21083f504dc2f960f Content-Type: text/plain; charset=ISO-8859-1 On 8 May 2013 01:03, "Roy Smith" wrote: > > In article <72f93710-9812-441e-8d3d-f221d5698f69@googlegroups.com>, > sokovic.anamarija@gmail.com wrote: > > > Hi, > > > > what is the generally recommended structure when we have into play this type > > of problem: > > multiple versions of python (both in the sense of main versions and sub > > versions, e.g., > > 2.7 : > > 2.7.1 > > 2.7.3 > > 3: > > 3.3 > > 3.3.1 > > Different versions of gcc > > different compilation strategies (-vanilla and non-vanilla) > > different modules (numpy,scipy) together with the different versions of all > > the rest. > > > > any help is appreciated > > > > Ana > > Virtualenv is your friend. > -- > http://mail.python.org/mailman/listinfo/python-list Have you looked at tox? It manages a folder full of virtualenvs for you, including your dependencies, and allows you to run your tests against every version. --047d7bdca7c21083f504dc2f960f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On 8 May 2013 01:03, "Roy Smith" <roy@panix.com> wrote:
>
> In article <72f93710-9812-441e-8d3d-f221d5698f69@googlegroups.com= >,
> =A0sokovic.anamarija@gm= ail.com wrote:
>
> > Hi,
> >
> > what is the generally recommended structure when we have into pla= y this type
> > of problem:
> > multiple versions of python (both in the sense of main versions a= nd sub
> > versions, e.g.,
> > 2.7 :
> > =A0 =A02.7.1
> > =A0 =A02.7.3
> > 3:
> > =A03.3
> > =A0 =A03.3.1
> > Different versions of gcc
> > different compilation strategies (-vanilla and non-vanilla)
> > different modules (numpy,scipy) together with the different versi= ons of all
> > the rest.
> >
> > any help is appreciated
> >
> > Ana
>
> Virtualenv is your friend.
> --
> http:/= /mail.python.org/mailman/listinfo/python-list

Have you looked at tox? It manages a folder full of virtuale= nvs for you, including your dependencies, and allows you to run your tests = against every version.

--047d7bdca7c21083f504dc2f960f--