Ask Your Question

Source analysis with custom wxPython

asked 2021-04-17 08:31:07 -0500

Joril's avatar

Hi everyone!
I'm writing a program using a custom installation of wxPython 4.1.0 on Debian 10 (Devuan actually). The wx directory is under /opt/wxPython-4/wx, how do I tell WingIDE to fetch its sources from there? Whenever I use "go to selected symbol definition" it points me to the official Debian wxPython 3 path (/usr/lib/python/dist-packages/wx-3.0-gtk/wx).
If it's relevant, I'm pointing Python to use /opt/wx-Python-4 by inserting it at the beginning of sys.path.
(I'm using WingIDE Pro

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-20 09:22:45 -0500

updated 2021-04-20 09:24:23 -0500

You'll want to add /opt/wx-Python-4 to the Python Path on the Debug/Execute page of Wing's Project > Project Properties dialog in order for Wing to pick up the python path changes. Wing can analyze the initial python file and pick up a few of the changes to sys.path but there are many that it cannot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-04-17 08:31:07 -0500

Seen: 351 times

Last updated: Apr 24 '21