/
setup.py
79 lines (74 loc) · 2.84 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# -*- coding: utf-8 -*-
# occiput - Tomographic Vision
# Harvard University, Martinos Center for Biomedical Imaging
# Aalto University, Department of Computer Science
# Use old Python build system, otherwise the extension libraries cannot be found. FIXME
import sys
for arg in sys.argv:
if arg=="install":
sys.argv.append('--old-and-unmanageable')
from setuptools import setup, Extension
from glob import glob
setup(
name='occiput',
version='1.2.1',
author='Stefano Pedemonte',
author_email='occiput.reconstruction@gmail.com',
packages=['occiput',
'occiput.test',
'occiput.notebooks',
'occiput.Core',
'occiput.Reconstruction',
'occiput.Reconstruction.PET',
'occiput.Reconstruction.SPECT',
'occiput.Reconstruction.CT',
'occiput.Reconstruction.MR',
'occiput.Transformation',
'occiput.Registration',
'occiput.Registration.Affine',
'occiput.Registration.TranslationRotation',
'occiput.Classification',
'occiput.DataSources',
'occiput.DataSources.Synthetic',
'occiput.DataSources.FileSources',
'occiput.Visualization',
],
package_data={'occiput': ['Data/*.pdf','Data/*.png','Data/*.jpg','Data/*.svg', \
'Data/*.nii','Data/*.dcm','Data/*.h5','Data/*.txt','Data/*.dat']},
scripts=[],
url='http://www.occiput.io/',
license='LICENSE.txt',
description='Tomographic Vision - PET, SPECT, CT, MRI reconstruction and processing.',
long_description=open('README.rst').read(),
keywords = ["PET", "SPECT", "MRI", "computer vision", "artificial intelligence", \
"emission tomography", "transmission tomography", "tomographic reconstruction",
"nuclear magnetic resonance"],
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Bio-Informatics" ],
install_requires=[
"numpy >= 1.12.0",
"matplotlib >= 1.4.0",
"simplewrap >= 0.3.0",
"NiftyPy >= 0.4.0",
"petlink >= 0.3.0",
"interfile >= 0.3.0",
"DisplayNode >= 0.3.0",
"ilang >= 0.3.0",
"ipy_table >= 1.11.0",
"nibabel >= 2.0.0",
"pydicom >= 0.9.0",
"nipy >= 0.3.0",
"jupyter >= 1.0.0",
"h5py >= 2.3.0",
"scipy >= 0.14.0",
"pillow >= 2.8.0",
"svgwrite >= 1.1.0" ]
)