-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (57 loc) · 1.73 KB
/
setup.py
File metadata and controls
65 lines (57 loc) · 1.73 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
57
58
59
60
61
62
63
64
65
#
# Copyright 2021-2025 WhiteMech
#
# ------------------------------
#
# This file is part of pddl.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
#
"""The setup script."""
import glob
import os
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, "pddl", "__version__.py"), "r") as f:
exec(f.read(), about)
install_requires = ["lark>=1.1.5,<1.2.0", "click>=8.1.3,<9.0.0"]
setup(
name=about["__title__"],
description=about["__description__"],
version=about["__version__"],
author=about["__author__"],
url=about["__url__"],
author_email=about["__author_email__"],
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.10",
install_requires=install_requires,
license=about["__license__"],
include_package_data=True,
data_files=[
("pddl/parser", glob.glob("pddl/parser/*.lark")),
],
keywords="pddl",
packages=find_packages(include=["pddl*"]),
entry_points={
"console_scripts": ["pddl=pddl.__main__:cli"],
},
test_suite="tests",
tests_require=["pytest"],
zip_safe=False,
)