-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 1.65 KB
/
setup.py
File metadata and controls
33 lines (28 loc) · 1.65 KB
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
from setuptools import setup
from Cython.Build import cythonize
kwargs = {'name': 'hvJP2K',
'description': 'JPEG2000 tools for the Helioviewer Project',
'long_description': open('README.md').read(),
'author': 'SWHV ROB',
'author_email': 'swhv@oma.be',
'url': 'https://github.com/Helioviewer-Project/hvJP2K',
'ext_modules': cythonize(['hvJP2K/jp2/jp2_common.pyx', 'hvJP2K/jpx/jpx_common.pyx', 'hvJP2K/jpx/jpx_mmap.pyx', 'hvJP2K/jpx/jpx_merge.py']),
'packages': ['hvJP2K', 'hvJP2K.jp2', 'hvJP2K.jp2.data', 'hvJP2K.jpx'],
'package_data': {'hvJP2K.jp2': ['data/*.sch', 'test/*.jp2', 'test/*.ppm'], 'hvJP2K.jpx': ['test/*/*.jp2', 'test/*/*.jpx']},
'scripts': ['bin/hv_jp2_decode', 'bin/hv_jp2_encode', 'bin/hv_jp2_verify', 'bin/hv_jpx_merge', 'bin/hv_jpx_merged', 'bin/hv_jpx_split', 'bin/hv_jp2_transcode'],
'license': 'MIT'}
instllrqrs = ['cython', 'numpy', 'lxml>=2.3', 'pillow', 'glymur>=0.5.10', 'jpylyzer==2.1.0']
kwargs['install_requires'] = instllrqrs
clssfrs = ["Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules"]
kwargs['classifiers'] = clssfrs
kwargs['version'] = '0.5'
setup(**kwargs)