Gentoo Archives: gentoo-user

From: Kraus Philipp <philipp.kraus@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] change python version for special program
Date: Tue, 02 Oct 2012 18:47:39
Message-Id: FD6967FE-18C7-44CA-924D-82B413F170F2@flashpixx.de
In Reply to: Re: [gentoo-user] change python version for special program by Michael Mol
1 Am 02.10.2012 um 19:52 schrieb Michael Mol:
2
3 > On Tue, Oct 2, 2012 at 1:43 PM, Kraus Philipp
4 > <philipp.kraus@×××××××××.de> wrote:
5 >> Hello,
6 >>
7 >> I have installed Python 2.7 & 3.2.2 on my Gentoo box, but I would like to use Scons, which runs at the moment under Python < 3.
8 >> I have installed Scons with "python2.7 setup.py", but if I run "scons" on command line, it creates the message, that it runs not on Python 3,
9 >> so can I setup manually that scons should use the Python 2.7 interpreter?
10 >
11 > As root:
12 >
13 > eselect python list
14
15 With this option I can setup the global Python version. Can I change only for one program ?
16
17 >
18 > I'm surprised you had to take the setup.py install route. Is scons not
19 > available in someone's overlay?
20
21 I'm testing different versions, because I would like to debug a scons toolkit.
22 So I haven't installed the portage Scons version, I have downloaded the tarball
23 and installed them within my home
24
25 Phil