-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
56 lines (50 loc) · 1.66 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
import re
import setuptools
_version = re.search(r"__version__\s+=\s+\"(.*)\"", open("ingenialink/__init__.py").read()).group(1)
def get_docs_url():
return f"https://distext.ingeniamc.com/doc/ingenialink-python/{_version}"
setuptools.setup(
name="ingenialink",
version=_version,
packages=setuptools.find_packages(exclude=["tests*", "examples*"]),
include_package_data=True,
package_data={
"ingenialink": ["bin/FoE/*/*", "py.typed"],
"virtual_drive": ["py.typed", "resources/*"],
},
description="IngeniaLink Communications Library",
long_description=open("README.rst").read(),
author="Novanta",
author_email="[email protected]",
url="https://www.ingeniamc.com",
project_urls={
"Documentation": get_docs_url(),
"Source": "https://github.com/ingeniamc/ingenialink-python",
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications",
"Topic :: Software Development :: Libraries",
],
install_requires=[
"canopen==2.2.0",
"python-can==4.3.1",
"ingenialogger>=0.2.1",
"ping3==4.0.3",
"pysoem>=1.1.7, <1.2.0",
"numpy>=1.26.0",
"scipy==1.12.0",
"bitarray==2.9.2",
],
extras_require={
"dev": ["tox==4.12.1"],
},
python_requires=">=3.9",
)