-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Mimic the way scipy handles numpy in setup.py #1606
Conversation
URL = 'http://scikit-image.org' | ||
LICENSE = 'Modified BSD' | ||
DOWNLOAD_URL = 'http://github.com/scikit-image/scikit-image' | ||
DISTNAME = 'scikit-image' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, autopep8 got me here
pass | ||
else: | ||
print('To install scikit-image from source, you will need numpy.\n' + | ||
'Install numpy with pip:\n' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implicit string concatenation - no pluses needed!
I'd consider doubling the newlines on either side of the actual pip call.
Mimic the way scipy handles numpy in setup.py
Sorry, @JDWarner, saw your comment now only--we can fix that in another commit, if you want. |
I'll fix @JDWarner's comment in a new PR, and I think we should exclude |
And also |
Scipy has this figured out, let's just do what they do:
https://github.com/scipy/scipy/blob/master/setup.py