-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathsetup.py
More file actions
73 lines (67 loc) · 2.34 KB
/
setup.py
File metadata and controls
73 lines (67 loc) · 2.34 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
66
67
68
69
70
71
72
73
"""
Tinymovr Setup Module
Copyright 2020-2026 MotionLayer P.C.
Standard Python module for setting up the Tinymovr package
This program 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.
This program 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
this program. If not, see <http://www.gnu.org/licenses/>.
"""
import pathlib
from setuptools import setup, find_packages
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(
name="tinymovr",
# version="", #version will be taken from git tag
author="MotionLayer P.C.",
author_email="info@tinymovr.com",
description="Tinymovr Studio",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/yconst/Tinymovr",
packages=find_packages(include=["tinymovr", "tinymovr.*"]),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
setuptools_git_versioning={
"enabled": True,
"dev_template": "{tag}+post{ccount}",
"dirty_template": "{tag}+post{ccount}_dirty",
},
setup_requires=["setuptools-git-versioning<2"],
install_requires=[
"ipython",
"importlib_resources",
"python-can",
"python-can-canine",
"python-can-slcan_disco",
"avlos>=0.6.6",
"pyserial",
"pyusb",
"pyyaml",
"docopt",
"flatten-dict",
"pint",
"pretty_errors"
],
extras_require={"gui": ["pyside6", "pyqtgraph>=0.13.3"]},
entry_points={
"console_scripts": [
"tinymovr_cli=tinymovr.cli:spawn",
"tinymovr=tinymovr.gui.gui:spawn",
"tinymovr_dfu=tinymovr.dfu:spawn"
]
},
)