Dan McCombs wrote:
> I'm trying to build Phoenix using Python 3.3.1 on Ubuntu by running the
> following command on the r73957 snapshot:
>
> sudo python3 ./setup.py install
>
>
> Everything compiles, but it fails when byte-compiling the python modules
> to pyc's, with Python code that is clearly not 3-friendly:
> What am I missing?
>
You forgot to correct the errors and to submit a patch or a PR. :-)
Seriously though, the modules in wx.lib are still in the process of
being ported to Phoenix and Py3, so any help you (or anyone) can offer
would be appreciated. It's going to require community assistance to be
able to get it done anytime soon.
http://wiki.wxpython.org/ProjectPhoenix/LibraryMigration
While testing you can use wxPython Phoenix from the build folder without
installing if you want, just do the build and then set PYTHONPATH
appropriately so "import wx" finds the one in the Phoenix source dir, or
do a setup.py develop to install an egg link.
--
Robin Dunn
Software Craftsman
http://wxPython.org