-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (29 loc) · 927 Bytes
/
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
from setuptools import Extension, setup
from Cython.Build import cythonize
paq_ext = Extension(
name="paq._paq",
sources=["paq/_paq.pyx"],
include_dirs=['paq'],
extra_compile_args=['-O3'],
language='c++',
)
setup(name='paq',
version='0.1.1',
description='Python binding for paq9a',
author='Jingchao Hu',
author_email='jingchaohu@gmail.com',
url='http://github.com/observerss/paq',
packages=['paq'],
package_data={'paq': ['*.pyx', '*.h']},
include_package_data=True,
install_requires=['cython'],
python_requires='>=3.5',
ext_modules=cythonize([paq_ext]),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: System :: Archiving :: Compression',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
]
)