-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
executable file
·61 lines (57 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
56
57
58
59
60
61
#!/usr/bin/env python
from setuptools import setup, Extension
VERSION = (1, 3, 1, 2)
VERSION_STR = ".".join([str(x) for x in VERSION])
ECA = [
"-std=c99",
"-O3",
"-Wall",
"-Wundef",
"-DVERSION=\"%s\"" % VERSION_STR,
"-DLZ4_VERSION=\"r123\"",
]
setup(
name='lz4tools',
version=VERSION_STR,
description="LZ4Frame Bindings and tools for Python",
license='BSD',
long_description=open('README.rst', 'r').read(),
author='Christopher Jackson',
author_email='[email protected]',
url='https://github.com/darkdragn/lz4file',
packages=['lz4tools'],
scripts=['lz4toolsCli'],
ext_modules=[
Extension('lz4f', [
'src/lz4.c',
'src/lz4hc.c',
'src/lz4frame.c',
'src/python-lz4f.c',
'src/xxhash.c'
], extra_compile_args=[
"-std=c99",
"-O3",
"-Wall",
"-W",
"-Wundef",
"-DVERSION=\"%s\"" % VERSION_STR,
"-DLZ4_VERSION=\"r124\"",
])],
setup_requires=["nose>=1.0"],
test_suite="nose.collector",
keywords=['lz4', 'lz4frame', 'lz4file', 'lz4tar'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)