forked from vallen-systems/waveline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (74 loc) · 2.31 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
73
74
75
76
77
78
79
80
81
from pathlib import Path
from setuptools import find_packages, setup
HERE = Path(__file__).parent
with open(HERE / "README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
INSTALL_REQUIRES = [
"numpy",
"pyserial>=3",
"dataclasses>=0.6; python_version<'3.7'",
]
EXTRAS_REQUIRE = {
"docs": [
"sphinx>3.1",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"m2r2", # include markdown files
],
"tests": [
"asynctest",
"coverage>=5", # pyproject.toml support
"freezegun",
"pytest>=6", # pyproject.toml support
"pytest-asyncio",
"pytest-benchmark",
],
"tools": [
"black",
"isort",
"mypy>=0.9", # pyproject.toml support
"pylint>=2.5", # pyproject.toml support
"tox>=3.4", # pyproject.toml support
],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["docs"] + EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["tools"]
setup(
name="waveline",
version="0.3.0",
description="Library to easily interface with Vallen Systeme WaveLine™ devices",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/vallen-systems/pyWaveline",
author="Lukas Berbuer (Vallen Systeme GmbH)",
author_email="software@vallen.de",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
],
keywords=[
"Vallen",
"Acoustic Emission",
"ultrasonic",
"data acquisition",
"WaveLine",
"conditionWave",
"spotWave",
],
packages=find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.6",
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
project_urls={
"Bug Reports": "https://github.com/vallen-systems/pyWaveline/issues",
"Source": "https://github.com/vallen-systems/pyWaveline",
},
)