-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
72 lines (63 loc) · 1.88 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
63
64
65
66
67
68
69
70
71
72
#
# Copyright 2021-2023 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 os
import glob
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
with open('CHANGES.md') as history_file:
history = history_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 + '\n\n' + history,
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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
python_requires='>=3.8',
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,
)