-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (58 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
73 lines (58 loc) · 1.63 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
[project]
name = "webeyetrack"
version = "0.0.1"
description = "WebEyeTrack: Robust & Scalable Gaze Tracking for Web Applications"
authors = [
{name = "Eduardo Davalos", email="eduardo.davalos.anaya@vanderbilt.edu"}
]
license = 'MIT'
readme = "README.md"
requires-python = ">3.6"
keywords = ["eye-tracking", "scalable", "rgb", "gaze"]
classifiers = [
"Programming Language :: Python :: 3"
]
dependencies = [
'mediapipe',
'numpy',
"opencv-python",
"scipy"
]
[project.optional-dependencies]
threed = [
'trimesh',
'open3d'
]
[project.urls]
homepath = "https://redforestai.github.io/WebEyeTrack/"
repository = "https://github.com/RedForestAI/WebEyeTrack"
[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.ruff]
ignore = ["E501"]
select = ["E", "W", "F", "C", "B", "I"]
ignore-init-module-imports = true
fixable = ["I001"] # isort fix only
# 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"
# 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\"')"
]