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


Groups > comp.lang.python > #3564

multiple Python 2.7 Windows installations

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <eric.frederich@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.04; '2.7': 0.05; 'python': 0.07; 'subject:2.7': 0.09; 'looked': 0.10; 'somewhere': 0.11; 'distutils': 0.16; 'registry.': 0.16; 'unfamiliar': 0.16; 'windows?': 0.16; 'thanks,': 0.17; "wouldn't": 0.18; 'please?': 0.19; 'trying': 0.23; 'version': 0.25; 'assume': 0.25; 'installation': 0.25; 'windows': 0.26; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.28; 'looks': 0.28; 'subject:Windows': 0.29; 'seem': 0.30; 'installer': 0.31; 'key,': 0.31; 'does': 0.31; 'to:addr:python-list': 0.32; 'another': 0.32; 'recognize': 0.35; 'routine': 0.35; 'hello,': 0.36; 'some': 0.37; 'else,': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'pretty': 0.38; 'so,': 0.38; 'built': 0.39; 'listed': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'ever': 0.65; 'studio': 0.72; '2.7.': 0.84; 'alien': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=TpqK/hQl3LeHzj6YuAYuj0cccddqcluqMDaIa0opezA=; b=Cd86MLQIp+LmV5utW+1yk/OMDpxxr3uuW+2ZxqmsTnP30mv7oJNZJqTxvC11Egmwu7 ScGDvdLviAvW+jxLxiIVdC3YHvqgRZDxzobZDuUygwh4MyuDqGSshoyrf7LC+9oVSRLA DQUnlP20me3qu5yuvExNs1u8BZ+FrQgLOMGwU=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=esrRgUhoCuRXwvxwS3bShXINXXEWZ3gwoAOmE2YaYEl/ScdMn0iAdfTpVqfZUMhGp6 kM5EWZgU8mU/Xcan2a4s8KMxUESkUgigwLKmURQp9YRpl2cMEpw6vz6IL9xUA5uzupax ydyk4H9MkV9JilatbNLdgTQys70FwfqMgSMRs=
MIME-Version 1.0
Date Tue, 19 Apr 2011 10:40:54 -0400
Subject multiple Python 2.7 Windows installations
From Eric Frederich <eric.frederich@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.562.1303224061.9059.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 82.94.164.166
X-Trace 1303224061 news.xs4all.nl 41102 [::ffff:82.94.164.166]:48189
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3564

Show key headers only | View raw


Hello,

I am trying to get an installer built with distutils to recognize
multiple installations.
The installer currently finds my installation at C:\Python27
I have a custom Python27 built myself with Visual Studio sitting
somewhere else, say C:\MyPython27.

I looked at PC/bdist_wininst/install.c in the GetPythonVersions
routine and see that it is searching Software\Python\PythonCore.

So, I assume I need to get my Python installation listed in the registry.
I am unfamiliar with the Windows Registry
I tried to create another 2.7 key but regedit wouldn't let me.
So, if I can only have one 2.7 key, it would seem that the routine
GetPythonVersions will only ever get 1 version of 2.7.
Does this mean that it is unsupported to have more than one Python 2.7
installation on Windows?

Again, that GetPythonVersions routine looks pretty alien to me.... so
I may be wrong.

Some help please?

Thanks,
~Eric

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


Thread

multiple Python 2.7 Windows installations Eric Frederich <eric.frederich@gmail.com> - 2011-04-19 10:40 -0400
  Re: multiple Python 2.7 Windows installations "Martin v. Loewis" <martin@v.loewis.de> - 2011-04-19 23:27 +0200

csiph-web