Re: [wxPython-dev] Errors building Phoenix for Python 3.3.1... what am I missing?

3 views
Skip to first unread message

Robin Dunn

unread,
May 10, 2013, 4:29:44 PM5/10/13
to wxPyth...@googlegroups.com
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

Dan McCombs

unread,
May 13, 2013, 9:42:28 AM5/13/13
to wxPyth...@googlegroups.com
Ah, thanks. I saw the video at http://wxpython.org/Phoenix/ItsAlive/ and thought it should all work cleanly with Python 3, I didn't realize there was still work to be done to get it there.

At least glad to know it wasn't just something I was doing wrong! :)

-Dan
Reply all
Reply to author
Forward
0 new messages