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


Groups > comp.lang.python > #60417

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'interpreter': 0.05; 'subject:Python': 0.06; 'executable': 0.09; '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; 'clone': 0.16; 'folder,': 0.16; 'invoked,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'suggestion.': 0.16; 'test).': 0.16; 'yup,': 0.16; '(you': 0.16; 'folder': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'machine': 0.22; 'handles': 0.22; 'separate': 0.22; 'tests': 0.22; 'install': 0.23; 'installation': 0.23; 'header :User-Agent:1': 0.23; 'recognize': 0.24; 'fine': 0.24; "i've": 0.25; 'script': 0.25; 'mention': 0.26; 'suggested': 0.26; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'correct': 0.29; 'chris': 0.29; 'external': 0.29; 'patch': 0.29; "i'm": 0.30; 'releases,': 0.31; 'subject:skip:i 10': 0.31; 'this.': 0.32; 'regular': 0.32; 'another': 0.32; 'could': 0.34; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'machine.': 0.36; 'possible': 0.36; 'virtual': 0.37; 'thank': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'temporarily': 0.60; 'from:charset:utf-8': 0.61; 'first': 0.61; 'received:93': 0.72; 'batchelder': 0.84; 'glance': 0.84; 'installer': 0.84; 'played': 0.84; 'received:hr': 0.84; 'items,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Jurko Gospodnetić <jurko.gospodnetic@pke.hr>
Subject Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine
Date Mon, 25 Nov 2013 14:42:26 +0100
Organization PKE sistemi d.o.o.
References <l6vg0i$nb$1@ger.gmane.org> <CAPTjJmp=YB8oBLb-fGUyDbhxeX-ir6Bg03Omu4-6=g8HwWEmpw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; 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
In-Reply-To <CAPTjJmp=YB8oBLb-fGUyDbhxeX-ir6Bg03Omu4-6=g8HwWEmpw@mail.gmail.com>
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.3171.1385386964.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385386964 news.xs4all.nl 15902 [2001:888:2000:d::a6]:54845
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60417

Show key headers only | View raw


   Hi.

On 25.11.2013. 14:04, Chris Angelico wrote:
> Is it possible to set up virtualization to help you out? Create a
> virtual machine in something like VirtualBox, then clone it for every
> Python patch you want to support (you could have one VM that handles
> all the .0 releases and another that handles all the .1 releases, or
> you could have a separate VM for every Python you want to test).
> ...

   Thank you for the suggestion.

   Yup, we could do that, but at first glance it really smells like an 
overkill. Not to mention the potential licensing issues with Windows and 
an unlimited number of Windows installations. :-)

   So far all tests seem to indicate that things work out fine if we 
install to some dummy target folder, copy the target folder to some 
version specific location & uninstall. That leaves us with a working 
Python folder sans the start menu and registry items, both of which we 
do not need for this. Everything I've played around with so far seems to 
use the correct Python data depending on the interpreter executable 
invoked, whether or not there is a regular Windows installation 
somewhere on the same machine.

   We can use the script suggested by Ned Batchelder to temporarily 
change the 'current installation' if needed for some external installer 
package to correctly recognize where to install its content.

   I'm still playing around with this, and will let you know how it goes.

   Thank you again for replying!

   Best regards,
     Jurko Gospodnetić

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


Thread

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:42 +0100

csiph-web