-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
47 lines (43 loc) · 2.73 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
#######################################################################################
# a2lparser: https://github.com/mrom1/a2lparser #
# author: https://github.com/mrom1 #
# #
# This file is part of the a2lparser package. #
# #
# a2lparser is free software: you can redistribute it and/or modify it #
# under the terms of the GNU General Public License as published by the #
# Free Software Foundation, either version 3 of the License, or (at your option) #
# any later version. #
# #
# a2lparser is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. #
# See the GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with a2lparser. If not, see <https://www.gnu.org/licenses/>. #
#######################################################################################
from setuptools import setup, find_packages
# When importing the a2lparser it automatically tries to generate the AST code.
# This is the reason this line is in here. It is not strictly necessary anymore since 0.1.1 fixes.
# In the future the whole build process should be modernized moving away from setup.py.
import a2lparser
setup(
name=a2lparser.__package_name__,
version=a2lparser.__version__,
packages=find_packages(exclude=["tests*"]),
install_requires=["ply", "loguru", "alive-progress", "prompt-toolkit", "pyyaml", "xmltodict"],
author=a2lparser.__author__,
author_email=a2lparser.__author_email__,
description=a2lparser.__description__,
license=a2lparser.__license__,
license_files=("LICENSE",),
url=a2lparser.__url__,
package_data={"a2lparser": ["*.cfg", "*.config", "logs/a2lparser_history"]},
classifiers=[
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
entry_points={"console_scripts": ["a2lparser = a2lparser.main:main"]},
)