-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (57 loc) · 1.47 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools >= 61.0", "autosemver"]
# build-backend = "setuptools.build_meta"
[project]
dependencies = [
"autosemver",
"awscli",
"awscrt",
"awsiotsdk",
"backoff",
"boto3",
"click",
"config",
"dill",
"docutils<0.17",
"oracledb",
"pandas",
"platformdirs",
"setuptools",
]
name = "iot-swarm"
dynamic = ["version"]
authors = [{ name = "Lewis Chambers", email = "[email protected]" }]
description = "Package for simulating a net of IoT devices for stress testing."
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pytest-asyncio", "parameterized"]
docs = ["sphinx", "sphinx-copybutton", "sphinx-rtd-theme", "sphinx-click"]
[project.scripts]
iot-swarm = "iotswarm.scripts.cli:main"
[tool.setuptools.dynamic]
version = { attr = "iotswarm.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["iotswarm*"]
[tool.setuptools.package-data]
"iotswarm.__assets__" = ["loggers.ini"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:autosemver.*:",
"ignore::DeprecationWarning:pkg_resources.*:",
]
addopts = "--cov=iotswarm"
markers = [
"asyncio: Tests asynchronous functions.",
"oracle: Requires oracle connection and required config credentials",
"slow: Marks slow tests",
]
[tool.coverage.run]
omit = [
"*example.py",
"*__init__.py",
"queries.py",
"loggers.py",
"**/scripts/*.py",
"**/build_database.py",
"utils.py",
]