bug: 0.99.1.1 setup.py needs optional package wx or it fails

Hi,

on a fresh CentOS5.3 with SciPy installed from repository
http://software.opensuse.org/download/home:/ashigabou/ and additional
packages
  freetype-devel-2.*
        libpng-devel-1.*
        pygtk2-devel
        gtk2-devel
the matplotlib-setup script "setup.py" fails with error:

...
              wxPython: no
                        * wxPython not found
Traceback (most recent call last):
  File "setup.py", line 146, in ?
    import wx
ImportError: No module named wx

This does _not_ happen if I use the 0.99.0 archive (on the _same_ machine).

It seems as if the setup.py 0.99.1.1 only runs if the optional package
wx is installed.

Greetings
Jens

Jens wrote:

Hi,

on a fresh CentOS5.3 with SciPy installed from repository
http://software.opensuse.org/download/home:/ashigabou/ and additional
packages
  freetype-devel-2.*
        libpng-devel-1.*
        pygtk2-devel
        gtk2-devel
the matplotlib-setup script "setup.py" fails with error:

...
              wxPython: no
                        * wxPython not found
Traceback (most recent call last):
  File "setup.py", line 146, in ?
    import wx
ImportError: No module named wx

This does _not_ happen if I use the 0.99.0 archive (on the _same_ machine).

It seems as if the setup.py 0.99.1.1 only runs if the optional package
wx is installed.

It sounds to me like this is caused by a glitch in the release process, in which a version of setup.cfg was included accidentally. If you have such a file, try deleting it.

Eric

···

Greetings
Jens

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options