-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
54 lines (49 loc) · 1.9 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
'''
Setup for Cortex
'''
import readline, glob
from setuptools import setup, find_packages
from setuptools.command.install import install
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='cortex',
version='0.12a',
description='cortex: a deep learning toolbox for neuroimaging',
long_description=long_description,
url='https://github.com/rdevon/cortex',
author='Devon Hjelm',
author_email='[email protected]',
license='GPL',
dependency_links=['git+https://github.com/Theano/Theano.git#egg=Theano'],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 2.7',
],
keywords='deep learning neuroimaging',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['nibabel', 'nipy', 'sklearn'],
entry_points={
'console_scripts': [
'cortex-setup=cortex:main',
'cortex-classifier-demo=cortex.demos.basic:run_classifier_demo',
'cortex-rbm-demo=cortex.demos.demos_basic:run_rbm_demo',
'cortex-vae-demo=cortex.demos.demos_basic:run_vae_demo',
'cortex-rbm-vbm-demo=cortex.demos.demos_neuroimaging:run_rbm_vbm_demo',
'cortex-rbm-olin-demo=cortex.demos.demos_neuroimaging:run_rbm_olin_demo',
'cortex-read-mri=cortex.analysis.load_mri:main',
'cortex-read-fmri=cortex.analysis.read_fmri:main'
]
},
data_files=[
'cortex/demos/demos_basic/classifier_mnist.yaml',
'cortex/demos/demos_basic/rbm_mnist.yaml',
'cortex/demos/demos_basic/vae_mnist.yaml',
'cortex/demos/demos_neuroimaging/rbm_vbm.yaml',
'cortex/demos/demos_neuroimaging/rbm_olin.yaml'
]
)