-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (126 loc) · 3.13 KB
/
Copy pathpyproject.toml
File metadata and controls
145 lines (126 loc) · 3.13 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[project]
name = "chimerapy-engine"
version = "0.1.1"
description = "ChimeraPy-Engine: The Cluster Networking Engine for the ChimeraPy Framework"
authors = [
{name = "Eduardo Davalos", email="eduardo.davalos.anaya@vanderbilt.edu"},
{name = "Umesh Timalsina", email="umesh.timalsina@vanderbilt.edu"}
]
license = {file = "LICENSE.txt"}
readme = "README.md"
requires-python = ">3.6"
keywords = ["multimodal", "data", "distributed", "streaming", "real-time"]
classifiers = [
"Programming Language :: Python :: 3"
]
dependencies = [
'networkx',
'dill',
'matplotlib',
'multiprocess',
'opencv-python',
'pyaudio',
'aioshutil',
'asyncio-atexit',
'pandas',
'tqdm',
'pyzmq',
'simplejpeg',
'aiohttp',
'blosc',
'PyYAML',
'dataclasses-json',
'aiofiles',
'zeroconf',
'aioreactive',
'psutil',
'winloop; sys_platform == "win32"',
'uvloop; sys_platform != "win32"',
]
[project.optional-dependencies]
test = [
'pytest',
'pytest-asyncio',
'pytest-repeat',
'pytest-lazy-fixture',
'pytest-order',
'pytest-rerunfailures',
'pytest-timeout',
'auto-changelog',
'coveralls',
'pre-commit',
'docker',
'numpy',
'imutils',
'pillow',
'bump2version'
]
types = [
'types-PyYAML',
'types-aiofiles'
]
docs = [
'sphinx',
'myst-parser'
]
benchmark = [
'lz4',
'nujson',
'orjson',
'cloudpickle',
'msgpack',
'msgpack_numpy'
]
examples = [
'dxcam; sys_platform == "win32"',
'imutils',
'numpy',
'pillow'
]
[project.urls]
homepath = "https://github.com/ChimeraPy"
documentation = "https://chimerapy-engine.readthedocs.io/en/latest/index.html"
repository = "https://github.com/ChimeraPy/Engine"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
# https://setuptools.pypa.io/en/stable/userguide/datafiles.html
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
chimerapy = ['engine/*.yaml']
[tool.mypy]
files = "chimerapy"
ignore_missing_imports = true
[tool.ruff]
ignore = ["E501"]
select = ["E", "W", "F", "C", "B", "I"]
ignore-init-module-imports = true
fixable = ["I001"] # isort fix only
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"chimerapy/pipelines/__version__.py" = ["E402"]
# Reference:
# https://stackoverflow.com/questions/4673373/logging-within-pytest-tests
[tool.pytest.ini_options]
asyncio_mode = 'auto'
# Logging + CLI
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s.%(msecs)03d [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
# Logging + File
log_file = "chimerapy-engine-test.log"
log_file_level = "DEBUG"
log_file_format = "%(asctime)s.%(msecs)03d [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_file_date_format = "%Y-%m-%d %H:%M:%S"
# Timeout
faulthandler_timeout=300
# Ignore warnings
filterwarnings = "ignore::DeprecationWarning"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"unit: marks tests as unit tests (deselect with '-m \"not unit\"')"
]