First time here? Check out the FAQ!
0

Source analysis with custom wxPython

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 7.2.9.1)

Joril's avatar
104
Joril
asked 2021-04-17 08:31:07 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2021-04-20 09:22:45 -0600, updated 2021-04-20 09:24:23 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer