[Scons-users] [scons-users] Support for Python 3?

Gary Oberbrunner garyo at oberbrunner.com
Tue Jun 12 08:09:21 EDT 2012


On Tue, Jun 12, 2012 at 2:36 AM, Russel Winder <russel at winder.org.uk> wrote:


> > > Hmm, that _is_ an interesting idea. Using pyinstaller or something

> like

> > that, I assume. Could just be an option, kind of like do you want all of

> > Java or just the JVM? Do you want a python with your SCons? :-)

> Actually

> > we have some GSoC code to package SCons + python on Windows already

> (fully

> > standalone SCons); it just needs to be integrated.

>

> With Debian and Ubuntu -- and I assume Fedora, SuSE, RHEL, using yum --

> you just have to create a deb with all the right metadata, so there is

> no problem building a SCons deb for Python 2.6 and 2.7 and one for 3.2

> and soon 3.3.

>

> The problem though will be the codebase, unless there are two it will

> have to be Python 3 and Python 2 compliant.

>


I was thinking slightly differently: we make one codebase, but (optionally)
bundle a complete private python of the appropriate version in with the
deb/rpm/exe/whatever. That way (a) people without python can use it, and
(b) people with the wrong python can use it. Of course we'd continue to
have the regular version that uses the system python, as long as it's
compatible. I get that it's not ideal, and in fact due to DLL hell it
might not even work (private python3 running in RHEL4? Maybe not.). But
it's one way to slice it.

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120612/4bd84996/attachment.html>


More information about the Scons-users mailing list