[wxPython] installing wxPython 2.2.5 fails

Hello,

I’m running (Active)Python 2.1 on W2k.

I’m using wxWindows 2.2.5.
I’m trying to get wxPython 2.2.5 talking.
Everyting up to running “python setup.py install” went smooth.

my_distutils.py, used by setup.py, does some somewhere
ccompiler.default_compiler[‘nt’] = ‘my_msvc’
But default_compiler in ccompiler does not exist.
There’s a _default_compilers, a tupple of tupples.
So setup.py breaks here.
Is there any solution to get wxPython installed another way?
I don’t know anything about distutils to hack
the something like my_distutils.py in wxPython does.
It seems moreover misuse of internal knowledge on
past distutils implementation that now causes a broken
intallation kit.

There are wxPython binaries available from http://wxPython.org
(specifically: http://wxpython.org/download.php#binaries), so you can just
install that. Most users on W2K go that route rather than rebuilding
wxPython.

HTH,
Mike

···

-----Original Message-----
From: Francis Meyvis [mailto:francis.meyvis@village.uunet.be]
Sent: Thursday, May 03, 2001 16:00
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] installing wxPython 2.2.5 fails

Hello,

I'm running (Active)Python 2.1 on W2k.
I'm using wxWindows 2.2.5.
I'm trying to get wxPython 2.2.5 talking.
Everyting up to running "python setup.py install" went smooth.

my_distutils.py, used by setup.py, does some somewhere
ccompiler.default_compiler['nt'] = 'my_msvc'
But default_compiler in ccompiler does not exist.
There's a _default_compilers, a tupple of tupples.
So setup.py breaks here.
Is there any solution to get wxPython installed another way?
I don't know anything about distutils to hack
the something like my_distutils.py in wxPython does.
It seems moreover misuse of internal knowledge on
past distutils implementation that now causes a broken
intallation kit.

my_distutils.py, used by setup.py, does some somewhere

There was a new version of my_distutils.py for 2.2.5 that was sent to the
mail list a couple weeks or so ago. You can get it from the archives or
from here (rejon the broken URL):

http://cvs.wxwindows.org/cgi-bin/viewcvs.cgi/wxWindows/wxPython/my_distutils
.py?rev=1.1.2.5&content-type=text/vnd.viewcvs-markup

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!