forked from pyimreg/python-register
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
57 lines (51 loc) · 1.47 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
#! /usr/bin/env python
""" imreg package configuration """
import numpy
import imreg
from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Distutils import build_ext
DISTNAME = 'imreg'
DESCRIPTION = 'Image registration toolkit'
LONG_DESCRIPTION = """
"imreg" is an image registration package for python that makes it easy to
automatically align image data.
"""
MAINTAINER = 'Nathan Faggian, Riaan Van Den Dool, Stefan Van Der Walt'
MAINTAINER_EMAIL = '[email protected]'
URL = 'pyimreg.github.com'
LICENSE = 'Apache License (2.0)'
DOWNLOAD_URL = ''
VERSION = imreg.__version__
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering'
]
setup(
name=DISTNAME,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
license=LICENSE,
download_url=DOWNLOAD_URL,
version=VERSION,
classifiers=CLASSIFIERS,
packages=find_packages(),
cmdclass={
'build_ext': build_ext
},
ext_modules=[Extension("imreg.interpolation", ["imreg/_interpolation.pyx"], )],
include_dirs=[numpy.get_include(), ],
package_data={},
install_requires=[
'numpy',
'scipy'
],
zip_safe=False
)