Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

[MRG] numpy dependency in setup.py #292

Merged
merged 2 commits into from
Nov 28, 2016
Merged

[MRG] numpy dependency in setup.py #292

merged 2 commits into from
Nov 28, 2016

Conversation

ndawe
Copy link
Member

@ndawe ndawe commented Nov 28, 2016

  • Add numpy to setup's extras_require to make explicit dependency optional:
    Useful for a requirements.txt file with root_numpy[with-numpy]. Exactly how scikit-learn implements optional explicit dependency on numpy in setup.py: http://scikit-learn.org/stable/install.html

  • Put numpy in setup's setup_requires and install_requires lists only if not already installed.
    Prevents pip from upgrading an existing numpy installation.
    This is what scipy does.

…a requirements.txt file with root_numpy[with-numpy])
@coveralls
Copy link

coveralls commented Nov 28, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 417077c on ndawe:master into a7bf740 on rootpy:master.

@ndawe ndawe changed the title add numpy to setup's extras_require [MRG] numpy dependency in setup.py Nov 28, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a449f36 on ndawe:master into a7bf740 on rootpy:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants