Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running setup.py while Wing is running

One difficulty I have with Wing is that any of the libraries I make and need to test by installing locally can't be done while Wing is running.

For example, let's say I'm making a library called foo with a setup.py. I periodically will need to run python setup.py install to test importing that library from within another (local) project and making sure it's all good.

However, running setup.py results in Python complaining that the foo egg is being used by another process (Wing). I have to shut down Wing, then run setup.py, then relaunch Wing again.

I assume this is because Wing opened the egg/package in order to get symbols for autocomplete, documentation, etc. That's great! But it appears to be holding onto it and not closing when done maybe?

Is this a Wing bug or is there something else I can do to work around this? Thanks!

Running setup.py while Wing is running

One difficulty I have with Wing is that any of the libraries I make and need to test by installing locally can't be done while Wing is running.

For example, let's say I'm making a library called foo with a setup.py. I periodically will need to run python setup.py install to test importing that library from within another (local) project and making sure it's all good.

However, running setup.py results in Python complaining that the foo egg is being used by another process (Wing). I have to shut down Wing, then run setup.py, then relaunch Wing again.

I assume this is because Wing opened the egg/package in order to get symbols for autocomplete, documentation, etc. That's great! But it appears to be holding onto it and not closing when done maybe?

Is this a Wing bug or is there something else I can do to work around this? Thanks!