-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reloader fails on setuptools script installed as an egg #1600
Comments
The main __script__ may not have a package when running as setup scripts Closes pallets#1600
The issue is present on 0.15.x but not on 0.14.x |
Could you be more specific about what you mean by "a package script"? I'm fine with the fix, but I want to understand under what circumstances |
@davidism I'm reproducing the issue when using trytond declared as script on setup.py We have a package that depends on trytond, and the issue is reproducible by installing this package in editable mode ( Here are my steps to reproduce it:
Please note that the --dev flag is required in order to activate the reloader, so the issue is not pressent without this flag. Let me know if this is enought or you need some additional information. |
This comment has been minimized.
This comment has been minimized.
This only occurs when you do I think setuptools maintainers are trying to move away from setuptools being the thing that manages the environment, in favor of pip, so you'll probably have a better compatibility experience in general by using |
Thanks!! |
We use werkzeug as router component of trytond. Everything worked on previous versions but since 0.15 (concretly after #1416 was merged), running the server from an package script and activating the reloader causes the following error:
The text was updated successfully, but these errors were encountered: