-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
62 lines (57 loc) · 1.72 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
62
import os.path
from setuptools import setup, find_packages, Extension
root = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(root, "README.md"), "rb") as readme:
long_description = readme.read().decode("utf-8")
setup(
name="yyjson",
packages=find_packages(),
version="4.0.5",
description="yyjson bindings for python",
long_description=long_description,
long_description_content_type="text/markdown",
author="Tyler Kennedy",
author_email="[email protected]",
url="https://github.com/TkTech/py_yyjson",
keywords=["json", "yyjson"],
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
],
license="MIT",
python_requires=">=3.8",
extras_require={
# Dependencies for running tests.
"test": ["pytest"],
# Dependencies for package release.
"release": [
"sphinx",
"sphinx-copybutton",
"ghp-import",
"bumpversion",
"black",
"furo",
],
},
ext_modules=[
Extension(
"cyyjson",
[
"yyjson/binding.c",
"yyjson/memory.c",
"yyjson/document.c",
"yyjson/yyjson.c",
],
language="c",
)
],
)