forked from jamesra/nornir-imageregistration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (52 loc) · 2.56 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
'''
Created on Aug 30, 2013
@author: u0490822
'''
import glob
import os
from ez_setup import use_setuptools
# from setuptools import setup, find_packages
if __name__ == '__main__':
use_setuptools()
from setuptools import setup, find_packages
packages = find_packages()
#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",
"numpy>=1.9.1",
"scipy>=0.13.2",
"matplotlib>=1.3.0",
"pillow>=2.3",
"six"]
dependency_links = ["git+https://github.com/nornir/nornir-pools#egg=nornir_pools-1.3.3",
"git+https://github.com/nornir/nornir-shared#egg=nornir_shared-1.3.3"]
scripts = ['nornir-addtransforms = nornir_imageregistration.scripts.nornir_addtransforms:Execute',
'nornir-assemble-tiles = nornir_imageregistration.scripts.nornir_assemble_tiles:Execute',
'nornir-assemble = nornir_imageregistration.scripts.nornir_assemble:Execute',
'nornir-rotate-transalate = nornir_imageregistration.scripts.nornir_rotate_translate:Execute',
'nornir-slice-to-mosaic = nornir_imageregistration.scripts.nornir_slicetomosaic:Execute',
'nornir-translatemosaic = nornir_imageregistration.scripts.nornir_translatemosaic:Execute', ]
# named_scripts = []
# script_template = '%s = %s'
# for script_path in scripts:
# renamed = get_script_name(script_path)
# entry = script_template % (renamed, script_path)
# named_scripts.append(entry)
entry_points = {'console_scripts' : scripts}
classifiers = ['Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering']
setup(name='nornir_imageregistration',
zip_safe=False,
classifiers=classifiers,
version='1.3.4',
description="Contains the core image registration algorithms for aligning 2d images into larger mosaics and 3D volumes",
author="James Anderson",
author_email="[email protected]",
url="https://github.com/nornir/nornir-imageregistration",
packages=packages,
entry_points=entry_points,
test_suite='test',
install_requires=install_requires,
dependency_links=dependency_links)