Ask Your Question
1

Running setup.py while Wing is running

asked 2021-02-19 10:55:42 -0500

massung's avatar

updated 2021-02-19 13:01:32 -0500

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!

edit retag flag offensive close merge delete

Comments

This is a Windows specific problem. Are you using a .egg file or is the egg unpacked in a directory ending with .egg?

Wingware Support's avatar Wingware Support  ( 2021-02-19 11:05:49 -0500 )edit

Yep, this is on Windows. The egg is a single .egg file. To be clear, it's getting installed to:

C:\Python39\Lib\site-packages\foo-0.1-py3.9.egg

massung's avatar massung  ( 2021-02-19 11:25:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-02-19 12:54:16 -0500

updated 2021-02-19 12:54:48 -0500

Thanks, we'll try to fix this bug soon. It's Windows specific because the Windows file system is different than the Mac or Linux filesystems.

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

2 followers

Stats

Asked: 2021-02-19 10:55:42 -0500

Seen: 388 times

Last updated: Feb 19 '21