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


Groups > comp.lang.python > #70715

how to build and install multiple micro-level major.minor versions of Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <webe3vt@aim.com>
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; 'configure': 0.05; 'subject:Python': 0.06; 'binary': 0.07; 'overwrite': 0.09; 'seemed': 0.09; 'setup.py': 0.09; 'stack.': 0.09; 'subject:build': 0.09; 'python': 0.11; 'wrote': 0.14; '2.7.2': 0.16; 'aix': 0.16; 'configure.ac': 0.16; 'received:9': 0.16; 'received:ibm.com': 0.16; 'subject: \n ': 0.16; 'subject:install': 0.16; 'subject:versions': 0.16; 'library': 0.18; 'pointed': 0.19; 'stack': 0.19; 'help.': 0.21; 'command': 0.22; 'install': 0.23; 'fine': 0.24; 'header:Received:8': 0.24; 'installed': 0.27; 'tried': 0.27; 'default,': 0.31; 'minor': 0.31; '(i.e.': 0.33; 'maybe': 0.34; "can't": 0.35; 'tool': 0.35; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; "didn't": 0.36; 'skip:. 20': 0.38; 'version,': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'easy': 0.60; 'different': 0.65; 'side': 0.67; '2.7.': 0.84; 'beside': 0.84; 'thoroughly': 0.91
Subject how to build and install multiple micro-level major.minor versions of Python
From "Brent S. Elmer Ph.D." <webe3vt@aim.com>
To python-list@python.org
Date Tue, 29 Apr 2014 11:28:30 -0400
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.8.5-2+b3
Mime-Version 1.0
Content-Transfer-Encoding 7bit
X-TM-AS-MML disable
X-Content-Scanned Fidelis XPS MAILER
x-cbid 14042915-1344-0000-0000-00000138E9F8
X-Mailman-Approved-At Tue, 29 Apr 2014 17:54:09 +0200
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.9572.1398786849.18130.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1398786849 news.xs4all.nl 2891 [2001:888:2000:d::a6]:37341
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70715

Show key headers only | View raw


I have built and installed Python on AIX as well as installed a stack of
Python tools.  The version I installed is 2.7.2.  Everything is working
fine but I want to install Python 2.7.6 and the tool stack.  Before I
installed 2.7.2, I installed 2.6.x.  I was able to install the 2.7.2 and
2.6.x side by side because they have different minor numbers.  This
allowed me to be able to thoroughly test 2.7.2 before pointing the link
for python to it.

Now however, I can't see an easy way to install 2.7.6 beside the 2.7.2
since by default, Python installs only to the minor number so if I
install 2.7.6, it will overwrite 2.7.2 since they will both install to
2.7.

I have tried editing the configuration files configure.ac and configure
to set VERSION, PYTHON_VERSION, and PACKAGE_VERSION to 2.7.6.  This
actually seemed to work fine so I ended up with 2.7.6 installed beside
2.7.

However, when I tried to install other python packages using a command
like:

python2.7.6 setup.py install

the python2.7.6 binary was used for the install but the setup wrote the
package library to .../lib/python2.7 not .../lib/python2.7.6.

I thought maybe it had something to do with bin/python-config pointing
to bin/python-config2.7, so I pointed python-config to
python-config2.7.6 but that didn't help.


Is there a way to do what I want to do (i.e. install 2.7.6 beside 2.7)?

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


Thread

how to build and install multiple micro-level major.minor versions of Python "Brent S. Elmer Ph.D." <webe3vt@aim.com> - 2014-04-29 11:28 -0400

csiph-web