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


Groups > comp.lang.python > #60411

Parallel Python x.y.A and x.y.B installations on a single Windows machine

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Windows': 0.02; 'interpreter': 0.05; 'subject:Python': 0.06; 'versions,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'windows': 0.15; 'does,': 0.16; 'expects': 0.16; 'identifier.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'all.': 0.16; "skip:' 30": 0.19; 'thanks.': 0.20; 'seems': 0.21; 'separate': 0.22; 'tests': 0.22; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'entries': 0.24; 'versions': 0.24; 'header:X-Complaints- To:1': 0.27; 'installed': 0.27; 'wondering': 0.29; "we'd": 0.29; 'patch': 0.29; 'work.': 0.31; 'code': 0.31; 'subject:skip:i 10': 0.31; 'file': 0.32; 'this.': 0.32; 'regular': 0.32; 'run': 0.32; 'guess': 0.33; 'there,': 0.34; 'advice': 0.35; 'possible.': 0.35; 'something': 0.35; 'building': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'machine.': 0.36; 'problems': 0.38; 'to:addr :python-list': 0.38; 'little': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'manually': 0.60; 'most': 0.60; 'customized': 0.61; 'information,': 0.61; 'such': 0.63; 'our': 0.64; 'different': 0.65; 'great': 0.65; 'received:93': 0.72; 'installer': 0.84; 'prepackaged': 0.84; 'received:hr': 0.84; 'together,': 0.84; 'charset:windows-1250': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Jurko Gospodnetić <jurko.gospodnetic@pke.hr>
Subject Parallel Python x.y.A and x.y.B installations on a single Windows machine
Date Mon, 25 Nov 2013 13:32:30 +0100
Organization PKE sistemi d.o.o.
Mime-Version 1.0
Content-Type text/plain; charset=windows-1250; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host 93-136-115-181.adsl.net.t-com.hr
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
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.3166.1385382760.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385382761 news.xs4all.nl 15932 [2001:888:2000:d::a6]:32928
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60411

Show key headers only | View raw


   Hi all.

   I was wondering what is the best way to install multiple Python 
installations on a single Windows machine.

   Regular Windows installer works great as long as all your 
installations have a separate major.minor version identifier. However, 
if you want to have let's say 2.4.3 & 2.4.4 installed at the same time 
it does not seem to work.

   I have not been able to find any prepackaged Python installation or 
really any solution to this. Most of the advice seems to boil down to 
'do not use such versions together, use only the latest'.

   We would like to run automated tests on one of our projects (packaged 
as a Python library) with different Python versions, and since our code 
contains workarounds for several problems with specific Python patch 
versions, we'd really like to be able to run the tests with those 
specific versions and with as little fuss as possible.

   Looking at what the Python installer does, the only problematic part 
for working around this manually seems to be the registry entries under 
'Software\Python\PythonCore\M.m' where 'M.n' is the major.minor version 
identifier. If Python interpreter expects to always find its entries 
there, then I guess there is no way to do what we need without building 
customized Python executables. Is there a way to force a specific Python 
interpreter to not read in this information, read it from an .ini file 
or something similar?

   Many thanks.

   Best regards,
     Jurko Gospodnetić

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


Thread

Parallel Python x.y.A and x.y.B installations on a single Windows machine Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2013-11-25 13:32 +0100
  Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine Ned Batchelder <ned@nedbatchelder.com> - 2013-11-25 04:46 -0800
    Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2013-11-25 14:51 +0100

csiph-web