-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (52 loc) · 1.47 KB
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
#!/usr/bin/env python
"""Python bindings for the XQC Xquery API.
See https://sourceforge.net/projects/xqc/
Supports XQilla as implementation.
"""
doclines = __doc__.split("\n")
classifiers = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX
Operating System :: Microsoft :: Windows
Operating System :: Unix
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Topic :: Text Processing :: Markup :: XML
Topic :: Software Development :: Libraries :: Python Modules
"""
try:
from setuptools import setup
pass
except:
from distutils.core import setup
pass
try:
import os
for key in setting.keys():
if key in os.environ:
setting[key] = [s.strip() for s in os.environ[key].split(",") if s]
pass
pass
pass
except:
pass
setup(
name="xqpy",
version="1.0",
author="Iwan Briquemont",
author_email="tracnar@gmail.com",
url="https://github.com/iwanb/xqpy",
packages=['xqpy'],
keywords=["xml", "xquery", "xqilla"],
license="http://www.apache.org/licenses/LICENSE-2.0",
description=doclines[0],
long_description="\n".join(doclines[2:]),
classifiers=[l for l in classifiers.split("\n") if l],
setup_requires=["cffi>=1.0.0"],
cffi_modules=["src/xqpy_build.py:ffibuilder"],
install_requires=["cffi>=1.0.0"],
test_suite="test",
)