|
| 1 | +# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- |
| 2 | +# vi: set ft=python sts=4 ts=4 sw=4 et: |
| 3 | +"""\ |
| 4 | +Group inference and reporting of neuroimaging studies require that individual's \ |
| 5 | +features are spatially aligned into a common frame where their location can be \ |
| 6 | +called standard. \ |
| 7 | +To that end, a multiplicity of brain templates with anatomical annotations \ |
| 8 | +(i.e., atlases) have been published. \ |
| 9 | +However, a centralized resource that allows programmatic access to templates is \ |
| 10 | +lacking. \ |
| 11 | +TemplateFlow is a modular, version-controlled resource that allows researchers \ |
| 12 | +to use templates "off-the-shelf" and share new ones. \ |
| 13 | +""" |
| 14 | +from ._version import get_versions |
| 15 | +__version__ = get_versions()['version'] |
| 16 | +del get_versions |
| 17 | + |
| 18 | +__packagename__ = 'templateflow' |
| 19 | +__author__ = 'The CRN developers' |
| 20 | +__copyright__ = 'Copyright 2019, Center for Reproducible Neuroscience, Stanford University' |
| 21 | +__credits__ = ['Oscar Esteban'] |
| 22 | +__license__ = '3-clause BSD' |
| 23 | +__maintainer__ = 'Oscar Esteban' |
| 24 | + |
| 25 | +__status__ = 'Prototype' |
| 26 | + |
| 27 | +__description__ = """\ |
| 28 | +TemplateFlow's Python Client - TemplateFlow is the Zone of neuroimaging templates. |
| 29 | +""" |
| 30 | +__longdesc__ = __doc__ |
| 31 | +__url__ = 'https://github.com/poldracklab/{}'.format(__packagename__) |
| 32 | + |
| 33 | +DOWNLOAD_URL = ( |
| 34 | + 'https://pypi.python.org/packages/source/{name[0]}/{name}/{name}-{ver}.tar.gz'.format( |
| 35 | + name=__packagename__, ver=__version__)) |
| 36 | +CLASSIFIERS = [ |
| 37 | + 'Development Status :: 3 - Alpha', |
| 38 | + 'Intended Audience :: Science/Research', |
| 39 | + 'Topic :: Scientific/Engineering :: Image Recognition', |
| 40 | + 'License :: OSI Approved :: Apache Software License', |
| 41 | + 'Programming Language :: Python :: 3.5', |
| 42 | + 'Programming Language :: Python :: 3.6', |
| 43 | + 'Programming Language :: Python :: 3.7', |
| 44 | +] |
| 45 | + |
| 46 | +REQUIRES = [ |
| 47 | + 'datalad', |
| 48 | +] |
| 49 | + |
| 50 | +SETUP_REQUIRES = [] |
| 51 | +REQUIRES += SETUP_REQUIRES |
| 52 | + |
| 53 | +LINKS_REQUIRES = [] |
| 54 | +TESTS_REQUIRES = [ |
| 55 | + 'pytest', |
| 56 | + 'pytest-xdist', |
| 57 | +] |
| 58 | + |
| 59 | +EXTRA_REQUIRES = { |
| 60 | + 'doc': [], |
| 61 | + 'tests': TESTS_REQUIRES, |
| 62 | +} |
| 63 | + |
| 64 | +# Enable a handle to install all extra dependencies at once |
| 65 | +EXTRA_REQUIRES['all'] = list(EXTRA_REQUIRES.values()) |
0 commit comments