Ask Your Question
1

Update packages path in real-time without restart wingide.

asked 2020-03-22 10:03:50 -0500

hongyi-zhao gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-23 09:20:50 -0500

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.

edit flag offensive delete link more

Comments

Thanks a lot for your explanation.

hongyi-zhao gravatar imagehongyi-zhao ( 2020-03-23 09:38:10 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-03-22 10:03:50 -0500

Seen: 28 times

Last updated: Mar 23