forked from jamesra/nornir-buildmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (45 loc) · 1.97 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
'''
Created on Aug 30, 2013
@author: James Anderson
'''
import glob
import os
from ez_setup import use_setuptools
from setuptools import setup, find_packages
# This if test prevents an infinite recursion running tests from "python setup.py test"
if __name__ == '__main__':
use_setuptools()
#OK to use pools v1.3.1, no changes made for v1.3.2
#Starting with 1.3.4 Image Magick 7 is required
install_requires = ["nornir_pools>=1.3.3",
"nornir_shared>=1.3.4",
"nornir_imageregistration>=1.3.4",
"numpy>=1.9.1",
"scipy>=0.13.2",
"matplotlib"]
packages = find_packages()
provides = ["nornir_buildmanager"]
dependency_links = ["git+http://github.com/nornir/nornir-pools#egg=nornir_pools-1.3.3",
"git+http://github.com/nornir/nornir-shared#egg=nornir_shared-1.3.3",
"git+http://github.com/nornir/nornir-imageregistration#egg=nornir_imageregistration-1.3.3"]
package_dir = {'nornir_buildmanager' : 'nornir_buildmanager'}
data_files = {'nornir_buildmanager' : ['config/*.xml']}
scripts = glob.glob(os.path.join('scripts', '*.py'))
cmdFiles = glob.glob(os.path.join('scripts', '*.cmd'))
scripts.extend(cmdFiles)
entry_points = {'console_scripts': ['nornir-build = nornir_buildmanager.build:Execute']}
setup(name='nornir_buildmanager',
zip_safe=True,
version='1.3.4',
scripts=scripts,
description="Scripts for the construction of 3D volumes from 2D image sets.",
author="James Anderson",
author_email="[email protected]",
url="https://nornir.github.io/",
packages=packages,
package_data=data_files,
entry_points=entry_points,
install_requires=install_requires,
provides=provides,
test_suite="test",
dependency_links=dependency_links)