-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Better error message when a package has no setup.py #1228
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
Comments
Agreed. |
This is already done for the case of installing from local directories with |
This will change a bit later -- when PEP 518 and PEP 517 are out in the wild. Now: pip should print a nicer message for a missing setup.py. |
FYI, I just noticed this and so filed the following issue on setuptools’s tracker in support of this: pypa/setuptools#1710 |
As I understand, this issue has been resolved. I will close it. |
Right now you get a message like:
IOError: [Errno 2] No such file or directory: '/Users/alex_gaynor/.virtualenvs/821336f702aceb1f/build/wxPython/setup.py'
It'd be nice to not get a traceback and instead get a clear message like "Package wxPtyhon has no setup.py so it cannot be installed"
The text was updated successfully, but these errors were encountered: