-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
50 lines (47 loc) · 1.81 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
#!/usr/bin/env python
# -*- coding: utf-8 -*
import os
from setuptools import setup, Extension
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
test_requirements = []
requirements = []
setup(
name="splitstream",
url="https://github.com/rickardp/splitstream",
author="Rickard Lyrenius",
author_email="[email protected]",
version="1.2.6",
description="Splitting of (XML, JSON) objects from a continuous stream",
long_description="Splitting of (XML, JSON) objects from a continuous stream",
long_description_content_type="text/plain",
ext_modules=[Extension('splitstream',
[
'src/python/splitstream_py.c',
'src/splitstream.c',
'src/splitstream_xml.c',
'src/splitstream_json.c',
'src/splitstream_ubjson.c',
'src/mempool.c'
],
include_dirs=["include/"])],
headers=['include/splitstream.h', 'include/splitstream_private.h'],
install_requires=requirements + test_requirements,
zip_safe=False,
test_suite='test',
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Intended Audience :: Developers"]
)