diff --git a/README.md b/README.md index 854492a98..80e1ea1fd 100644 --- a/README.md +++ b/README.md @@ -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/) diff --git a/setup.py b/setup.py index 602cefcf1..d5a4b82ef 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ def main(): REQUIRES, TESTS_REQUIRES, EXTRA_REQUIRES, + PYTHON_REQUIRES ) pkg_data = { @@ -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, diff --git a/tedana/info.py b/tedana/info.py index 6a8f6dae9..79c825f53 100644 --- a/tedana/info.py +++ b/tedana/info.py @@ -28,7 +28,7 @@ name=__packagename__, ver=__version__)) REQUIRES = [ - 'numpy', + 'numpy >=1.14', 'scikit-learn', 'nilearn', 'nibabel>=2.1.0', @@ -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',