First time here? Check out the FAQ!
1

Update packages path in real-time without restart wingide.

  • retag add tags

Hi,

I use the sitecustomize module method described here to import some customized packages which don't located on the python's search pathes.

The issue is: when I do some revisions on the sitecustomize.py then I must restart wingide so that the wingide can find the changes. I want to know whether can I update packages path in real-time without restart wingide?

Regards

hongyi-zhao's avatar
497
hongyi-zhao
asked 2020-03-22 10:03:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Wing is not reanalyzing the effective Python Path because it doesn't know this change was made. One idea is to make a change to the Python Path in Wing's Project Properties to trigger a re-inspection of the effective Python Path, but it might be easier to just restart Wing. You can do that smoothly with the command restart-wing (bind it to a key or add a toolbar item). We'll see if this can be improved.

Wingware Support's avatar
4k
Wingware Support
answered 2020-03-23 09:20:50 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks a lot for your explanation.

hongyi-zhao's avatar hongyi-zhao (2020-03-23 09:38:10 -0500) edit
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