forked from steeve/python-lz4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (42 loc) · 1.28 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
#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
VERSION = (0, 7, 0)
VERSION_STR = ".".join([str(x) for x in VERSION])
setup(
name='lz4',
version=VERSION_STR,
description="LZ4 Bindings for Python",
long_description=open('README.rst', 'r').read(),
author='Steeve Morin',
author_email='[email protected]',
url='https://github.com/steeve/python-lz4',
packages=find_packages('src'),
package_dir={'': 'src'},
ext_modules=[
Extension('lz4', [
'src/lz4.c',
'src/lz4hc.c',
'src/python-lz4.c'
], extra_compile_args=[
"-std=c99",
"-O3",
"-Wall",
"-W",
"-Wundef",
"-DVERSION=\"%s\"" % VERSION_STR,
"-DLZ4_VERSION=\"r119\"",
])
],
setup_requires=["nose>=1.0"],
test_suite = "nose.collector",
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
)