-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
57 lines (52 loc) · 1.86 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
from pathlib import Path
import setuptools
def get_version():
"""Parse package __version__.py to get version."""
versionpy = (Path("bc_jsonpath_ng") / "__version__.py").read_text()
return versionpy.split('"')[1]
setuptools.setup(
name="bc-jsonpath-ng",
version=get_version(),
python_requires=">=3.8",
description=(
"A final implementation of JSONPath for Python that aims to be "
"standard compliant, including arithmetic and binary comparison "
"operators and providing clear AST for metaprogramming."
),
author="bridgecrew",
author_email="[email protected]",
url="https://github.com/bridgecrewio/jsonpath-ng",
license="Apache License 2.0",
long_description=Path("README.rst").read_text(encoding="utf-8"),
long_description_content_type="text/x-rst",
packages=[
"bc_jsonpath_ng",
"bc_jsonpath_ng.bin",
"bc_jsonpath_ng.ext",
],
include_package_data=True,
entry_points={
"console_scripts": ["bc_jsonpath_ng=bc_jsonpath_ng.bin.jsonpath:entry_point"],
},
test_suite="tests",
install_requires=[
"ply",
"decorator",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Typing :: Typed",
],
)