Skip to content

Commit

Permalink
MAINT: Update numpy and Python requirements (#397)
Browse files Browse the repository at this point in the history
* MAINT: Update numpy and Python requirements

* DOC: Add numpy version constraint to README
  • Loading branch information
effigies authored and emdupre committed Sep 19, 2019
1 parent 94b9275 commit 95e9825
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ More information and documentation can be found at https://tedana.readthedocs.io
You'll need to set up a working development environment to use `tedana`.
To set up a local environment, you will need Python >=3.5 and the following packages will need to be installed:

* [numpy](http://www.numpy.org/)
* [numpy>=1.14](http://www.numpy.org/)
* [scipy](https://www.scipy.org/)
* [scikit-learn](http://scikit-learn.org/stable/)
* [nilearn](https://nilearn.github.io/)
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def main():
REQUIRES,
TESTS_REQUIRES,
EXTRA_REQUIRES,
PYTHON_REQUIRES
)

pkg_data = {
Expand Down Expand Up @@ -60,6 +61,7 @@ def main():
classifiers=CLASSIFIERS,
download_url=DOWNLOAD_URL,
# Dependencies handling
python_requires=PYTHON_REQUIRES,
install_requires=REQUIRES,
tests_require=TESTS_REQUIRES,
extras_require=EXTRA_REQUIRES,
Expand Down
6 changes: 5 additions & 1 deletion tedana/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
name=__packagename__, ver=__version__))

REQUIRES = [
'numpy',
'numpy >=1.14',
'scikit-learn',
'nilearn',
'nibabel>=2.1.0',
Expand Down Expand Up @@ -59,6 +59,10 @@
EXTRA_REQUIRES['all'] = list(set([
v for deps in EXTRA_REQUIRES.values() for v in deps]))

# Supported Python versions using PEP 440 version specifiers
# Should match the same set of Python versions as classifiers
PYTHON_REQUIRES = ">=3.5"

# Package classifiers
CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 95e9825

Please sign in to comment.