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


Groups > comp.lang.python > #60419

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

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!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.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Windows': 0.02; 'subject:Python': 0.06; 'modify': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:blog': 0.10; 'python': 0.11; 'entries,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'else,': 0.19; 'later': 0.20; 'install': 0.23; 'header:User-Agent:1': 0.23; 'recognize': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'external': 0.29; "doesn't": 0.30; 'assumes': 0.31; 'subject:skip:i 10': 0.31; 'another': 0.32; 'except': 0.35; 'version': 0.36; 'installing': 0.36; "i'll": 0.36; 'should': 0.36; 'thank': 0.38; 'version,': 0.38; 'needed': 0.38; 'to:addr:python- list': 0.38; 'itself': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'temporarily': 0.60; 'most': 0.60; 'helps': 0.61; 'mentioned': 0.61; 'from:charset:utf-8': 0.61; 'first': 0.61; 'different': 0.65; 'received:93': 0.72; 'restore': 0.78; 'batchelder': 0.84; 'installer': 0.84; 'received:hr': 0.84; 'reply,': 0.93
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:51:22 +0100
Organization PKE sistemi d.o.o.
References <mailman.3166.1385382760.18130.python-list@python.org> <107e2c79-ae7b-4798-b07c-e52af62c68a4@googlegroups.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 <107e2c79-ae7b-4798-b07c-e52af62c68a4@googlegroups.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.3173.1385387495.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385387495 news.xs4all.nl 15892 [2001:888:2000:d::a6]:60224
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60419

Show key headers only | View raw


   Hi.

On 25.11.2013. 13:46, Ned Batchelder wrote:
> IIRC, Python itself doesn't read those registry entries, except when installing pre-compiled .msi or .exe kits.  Once you have Python installed, you can move the directory someplace else, then install another version of Python.
>
> If you need to use many different Pythons of the same version, this script helps manage the registry: http://nedbatchelder.com/blog/201007/installing_python_packages_from_windows_installers_into.html

   Thank you for the information!

   As I mentioned in another reply, so far I think we can use this 
script to temporarily change the 'current installation' if needed for 
some external installer package to correctly recognize where to install 
its content.

   <bike-shedding>If we do use it, I'll most likely modify it to first 
make a backup copy of the original registry key and use that later on to 
restore the original registry state instead of reconstructing its 
content to what the script assumes it should be.</bike-shedding>

   Best regards,
     Jurko Gospodnetić

Back to comp.lang.python | Previous | NextPrevious 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