-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (38 loc) · 1.33 KB
/
setup.py
File metadata and controls
48 lines (38 loc) · 1.33 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
import re
import setuptools
with open("canopenx/__init__.py", "r") as f:
version = re.search(r"^__version__\s*=\s*[\'\"]([^\'\"]*)[\'\"]", f.read(), re.MULTILINE).group(1)
with open("readme.rst", "r") as f:
long_description = f.read()
setuptools.setup(
name = "canopenx",
version = version,
url = "https://github.com/marcel-kanter/python-canopenx",
description = "CANopen package for python",
long_description = long_description,
author = "Marcel Kanter",
author_email = "marcel.kanter@googlemail.com",
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"Intended Audience :: Telecommunications Industry",
"License :: MIT",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: System :: Networking",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Embedded Systems",
"Topic :: Utilities"
],
python_requires = ">=3.6",
packages = setuptools.find_packages(include = ["canopenx*"]),
install_requires = [
"python-can>=3.0.0"
]
)