This repository has been archived by the owner on Jan 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (51 loc) · 1.78 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
"""
PyOpenJPEG: Python wrapper for OpenJPEG
PyOpenJPEG is a Python wrapper for the OpenJPEG JPEG 2000 library. So far
the wrapper only supports a very limited subset of the OpenJPEG functionality
with support for additional functionality planned for the future.
"""
DOCLINES = __doc__.split("\n")
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Graphics',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
]
setup(
author="Keith Hughitt",
author_email="keith.hughitt@nasa.gov",
classifiers=CLASSIFIERS,
cmdclass = {'build_ext': build_ext},
description=DOCLINES[0],
# https://bugs.archlinux.org/task/22326
ext_modules = [Extension("openjpeg.decode",
["openjpeg/src/decode.pyx"],
libraries=["openjp2"],
include_dirs=[numpy.get_include()])],
#install_requires=[],
license="BSD",
long_description="\n".join(DOCLINES[2:]),
maintainer="keith.hughitt@nasa.gov",
maintainer_email="keith.hughitt@nasa.gov",
name="PyOpenJPEG",
#packages=find_packages(),
#package_data={'': ['*.pyx']},
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
provides=['openjpeg'],
url="",
#use_2to3=True,
version="0.1"
)