-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Switch to a
setup.cfg
-style of installation
- Loading branch information
Showing
7 changed files
with
98 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Group inference and reporting of neuroimaging studies require that individual's | ||
features are spatially aligned into a common frame where their location can be | ||
called standard. | ||
To that end, a multiplicity of brain templates with anatomical annotations | ||
(i.e., atlases) have been published. | ||
However, a centralized resource that allows programmatic access to templates is | ||
lacking. | ||
TemplateFlow is a modular, version-controlled resource that allows researchers | ||
to use templates "off-the-shelf" and share new ones. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build-system] | ||
requires = ["setuptools >= 30.3.0", "wheel"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
pybids>=0.9.0,<0.10.0a0 | ||
pytest | ||
pybids~=0.9.2 | ||
requests | ||
tqdm | ||
pytest | ||
pytest-xdist | ||
pytest-cov==2.5.1 | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,13 @@ | ||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | ||
# vi: set ft=python sts=4 ts=4 sw=4 et: | ||
"""\ | ||
Group inference and reporting of neuroimaging studies require that individual's \ | ||
features are spatially aligned into a common frame where their location can be \ | ||
called standard. \ | ||
To that end, a multiplicity of brain templates with anatomical annotations \ | ||
(i.e., atlases) have been published. \ | ||
However, a centralized resource that allows programmatic access to templates is \ | ||
lacking. \ | ||
TemplateFlow is a modular, version-controlled resource that allows researchers \ | ||
to use templates "off-the-shelf" and share new ones. \ | ||
""" | ||
Templateflow | ||
""" | ||
from ._version import get_versions | ||
__version__ = get_versions()['version'] | ||
del get_versions | ||
|
||
__packagename__ = 'templateflow' | ||
__author__ = 'The CRN developers' | ||
__copyright__ = 'Copyright 2019, Center for Reproducible Neuroscience, Stanford University' | ||
__credits__ = ['Oscar Esteban'] | ||
__license__ = '3-clause BSD' | ||
__maintainer__ = 'Oscar Esteban' | ||
__email__ = 'code@oscaresteban.es' | ||
__status__ = 'Prototype' | ||
|
||
__description__ = """\ | ||
TemplateFlow's Python Client - TemplateFlow is the Zone of neuroimaging templates. | ||
""" | ||
__longdesc__ = __doc__ | ||
__url__ = 'https://github.com/poldracklab/{}'.format(__packagename__) | ||
|
||
DOWNLOAD_URL = ( | ||
'https://pypi.python.org/packages/source/{name[0]}/{name}/{name}-{ver}.tar.gz'.format( | ||
name=__packagename__, ver=__version__)) | ||
CLASSIFIERS = [ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering :: Image Recognition', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
] | ||
|
||
REQUIRES = [ | ||
'pybids>=0.9.0,<0.10.0a0', | ||
'requests', | ||
'tqdm', | ||
] | ||
|
||
SETUP_REQUIRES = [] | ||
REQUIRES += SETUP_REQUIRES | ||
|
||
LINKS_REQUIRES = [] | ||
TESTS_REQUIRES = [ | ||
'pytest', | ||
'pytest-xdist', | ||
] | ||
|
||
EXTRA_REQUIRES = { | ||
'doc': [], | ||
'tests': TESTS_REQUIRES, | ||
'datalad': ['datalad'], | ||
} | ||
|
||
# Enable a handle to install all extra dependencies at once | ||
EXTRA_REQUIRES['all'] = list(EXTRA_REQUIRES.values()) | ||
__credits__ = ['Oscar Esteban', 'Chris Markiewicz', 'Rastko Ciric', 'Yaroslav O. Halchenko', | ||
'Chris Gorgolewski', 'Russell Poldrack'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters