Skip to content
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

Merged
merged 3 commits into from
Jul 13, 2015

Conversation

blink1073
Copy link
Member

Scipy has this figured out, let's just do what they do:
https://github.com/scipy/scipy/blob/master/setup.py

URL = 'http://scikit-image.org'
LICENSE = 'Modified BSD'
DOWNLOAD_URL = 'http://github.com/scikit-image/scikit-image'
DISTNAME = 'scikit-image'
Copy link
Member Author

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' +
Copy link
Contributor

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.

stefanv added a commit that referenced this pull request Jul 13, 2015
Mimic the way scipy handles numpy in setup.py
@stefanv stefanv merged commit aa420d8 into scikit-image:master Jul 13, 2015
@stefanv
Copy link
Member

stefanv commented Jul 13, 2015

Sorry, @JDWarner, saw your comment now only--we can fix that in another commit, if you want.

@blink1073
Copy link
Member Author

I'll fix @JDWarner's comment in a new PR, and I think we should exclude scipy and matplotlib when upgrading as well, thoughts?

@blink1073
Copy link
Member Author

And also PIL, basically anything known to require compilation against outside libraries.

@blink1073 blink1073 deleted the fix-setup-numpy branch January 15, 2016 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants