This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·58 lines (49 loc) · 1.82 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import sys
from setuptools import find_packages, setup
with open("README.rst", encoding="utf-8") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst", encoding="utf-8") as history_file:
history = history_file.read()
requirements = ["cffi>=1.15.0"]
setup_requirements = ["pytest-runner", "setuptools", "wheel>=0.37", "cffi>=1.15.0"]
if sys.version_info[:2] in ((3, 7), (3, 6)):
setup_requirements += ["pickle5"]
test_requirements = ["pytest"]
setup(
author="Mikhail Grushinskiy",
author_email="mgrouch@users.sourceforge.net",
maintainer="Dimiter Naydenov",
maintainer_email="dimitern@users.noreply.github.com",
classifiers=[
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"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",
],
description="XMLStarlet Toolkit: Python CFFI bindings",
install_requires=requirements,
license="MIT license",
long_description=readme + "\n\n" + history,
long_description_content_type="text/x-rst",
include_package_data=False,
keywords="xmlstarlet cffi",
name="xmlstarlet",
packages=find_packages(include=["xmlstarlet"]),
setup_requires=setup_requirements,
cffi_modules=["xmlstarlet_build.py:FFIBUILDER"],
python_requires=">=3.6.*",
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/dimitern/xmlstarlet",
version="1.6.8",
zip_safe=False,
)