1""" This file contains defines parameters for DIPY that we use to fill 2settings in setup.py, the DIPY top-level docstring, and for building the 3docs. In setup.py in particular, we exec this file, so it cannot import dipy 4""" 5 6# DIPY version information. An empty _version_extra corresponds to a 7# full release. '.dev' as a _version_extra string means this is a development 8# version 9_version_major = 1 10_version_minor = 4 11_version_micro = 1 12# _version_extra = 'dev' 13_version_extra = '' 14 15# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z" 16__version__ = "%s.%s.%s%s" % (_version_major, 17 _version_minor, 18 _version_micro, 19 _version_extra) 20 21CLASSIFIERS = ["Development Status :: 3 - Alpha", 22 "Environment :: Console", 23 "Intended Audience :: Science/Research", 24 "License :: OSI Approved :: BSD License", 25 "Operating System :: OS Independent", 26 "Programming Language :: Python", 27 "Topic :: Scientific/Engineering"] 28 29description = 'Diffusion MRI utilities in python' 30 31# Note: this long_description is actually a copy/paste from the top-level 32# README.rst, so that it shows up nicely on PyPI. So please remember to edit 33# it only in one place and sync it correctly. 34long_description = """ 35====== 36 DIPY 37====== 38 39DIPY is a python toolbox for analysis of MR diffusion imaging. 40 41DIPY is for research only; please do not use results from DIPY for 42clinical decisions. 43 44Website 45======= 46 47Current information can always be found from the DIPY website - https://dipy.org 48 49Mailing Lists 50============= 51 52Please see the developer's list at 53https://mail.python.org/mailman3/lists/dipy.python.org/ 54 55Code 56==== 57 58You can find our sources and single-click downloads: 59 60* `Main repository`_ on Github. 61* Documentation_ for all releases and current development tree. 62* Download as a tar/zip file the `current trunk`_. 63 64.. _main repository: http://github.com/dipy/dipy 65.. _Documentation: http://dipy.org 66.. _current trunk: https://github.com/dipy/dipy/archive/master.zip 67 68License 69======= 70 71DIPY is licensed under the terms of the BSD license. 72Please see the LICENSE file in the dipy distribution. 73 74DIPY uses other libraries also licensed under the BSD or the 75MIT licenses. 76""" 77 78# versions for dependencies 79# Check these versions against .travis.yml and requirements.txt 80CYTHON_MIN_VERSION = '0.29' 81NUMPY_MIN_VERSION = '1.12.0' 82SCIPY_MIN_VERSION = '1.0' 83NIBABEL_MIN_VERSION = '3.0.0' 84H5PY_MIN_VERSION = '2.5.0' 85PACKAGING_MIN_VERSION = '19.0' 86TQDM_MIN_VERSION = '4.30.0' 87 88# Main setup parameters 89NAME = 'dipy' 90MAINTAINER = "Eleftherios Garyfallidis" 91MAINTAINER_EMAIL = "neuroimaging@python.org" 92DESCRIPTION = description 93LONG_DESCRIPTION = long_description 94URL = "https://dipy.org" 95DOWNLOAD_URL = "https://github.com/dipy/dipy/releases" 96LICENSE = "BSD license" 97CLASSIFIERS = CLASSIFIERS 98AUTHOR = "dipy developers" 99AUTHOR_EMAIL = "neuroimaging@python.org" 100PLATFORMS = "OS Independent" 101MAJOR = _version_major 102MINOR = _version_minor 103MICRO = _version_micro 104ISRELEASE = _version_extra == '' 105VERSION = __version__ 106PROVIDES = ["dipy"] 107REQUIRES = ["numpy (>=%s)" % NUMPY_MIN_VERSION, 108 "scipy (>=%s)" % SCIPY_MIN_VERSION, 109 "nibabel (>=%s)" % NIBABEL_MIN_VERSION, 110 "h5py (>=%s)" % H5PY_MIN_VERSION, 111 "packaging (>=%s)" % PACKAGING_MIN_VERSION, 112 "tqdm"] 113EXTRAS_REQUIRE = { 114 "test": [ 115 "pytest", 116 "coverage", 117 "coveralls", 118 "codecov", 119 ], 120 "doc": [ 121 "cython", 122 "numpy", 123 "scipy", 124 "nibabel>=3.0.0", 125 "h5py", 126 "h5py<3.0.0; sys_platform == 'win32'", 127 "cvxpy", 128 "pandas", 129 "tables", 130 "matplotlib", 131 "fury>=0.6" 132 "scikit-learn", 133 "scikit-image", 134 "statsmodels", 135 ], 136 "viz": [ 137 "fury>=0.6", 138 "matplotlib" 139 ], 140 "ml": [ 141 "scikit_learn", 142 "pandas", 143 "statsmodels" 144 "tables", 145 "tensorflow" 146 ] 147 148} 149 150EXTRAS_REQUIRE["all"] = list(set([a[i] for a in list(EXTRAS_REQUIRE.values()) 151 for i in range(len(a))])) 152