-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
106 lines (91 loc) · 2.94 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "deeplabcut-live"
version = "1.1.1rc1"
description = "Class to load exported DeepLabCut networks and perform pose estimation on single frames (from a camera feed)"
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "GNU Affero General Public License v3 or later (AGPLv3+)" }
authors = [
{ name = "A. & M. Mathis Labs", email = "admin@deeplabcut.org" }
]
keywords = ["deeplabcut", "pose-estimation", "real-time", "deep-learning"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=1.20,<2",
"ruamel.yaml>=0.17.20",
"colorcet>=3.0.0",
"einops>=0.6.1",
"Pillow>=8.0.0",
"py-cpuinfo>=5.0.0",
"tqdm>=4.62.3",
"pandas>=1.0.1,!=1.5.0",
"tables>=3.8",
"opencv-python-headless>=4.5",
"dlclibrary>=0.0.6",
"scipy>=1.9",
"pip",
]
[project.optional-dependencies]
pytorch = [
"timm>=1.0.7",
"torch>=2.0.0",
"torchvision>=0.15",
]
tf = [
"tensorflow>=2.7.0,<2.12; platform_system == 'Linux' and python_version < '3.11'",
"tensorflow>=2.12.0; platform_system == 'Linux' and python_version >= '3.11'",
"tensorflow-macos>=2.7.0,<2.12; platform_system == 'Darwin' and python_version < '3.11'",
"tensorflow-macos>=2.12.0; platform_system == 'Darwin' and python_version >= '3.11'",
# Tensorflow is not supported on Windows with Python >= 3.11
"tensorflow>=2.7,<=2.10; platform_system == 'Windows' and python_version < '3.11'",
"tensorflow-io-gcs-filesystem==0.27; platform_system == 'Windows' and python_version < '3.11'",
"tensorflow-io-gcs-filesystem; platform_system != 'Windows'",
]
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"hypothesis",
"black",
"ruff",
]
# Keep only for backward compatibility with Poetry
# (without this section, Poetry assumes the wrong root directory of the project)
[tool.poetry]
packages = [
{ include = "dlclive" }
]
[project.scripts]
dlc-live-test = "dlclive.check_install.check_install:main"
dlc-live-benchmark = "dlclive.benchmark:main"
[project.urls]
Homepage = "https://github.com/DeepLabCut/DeepLabCut-live"
Repository = "https://github.com/DeepLabCut/DeepLabCut-live"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["dlclive*"]
[tool.setuptools.package-data]
dlclive = [
"check_install/*",
"modelzoo/model_configs/*.yaml",
"modelzoo/project_configs/*.yaml",
]
# [tool.ruff]
# lint.select = ["E", "F", "B", "I", "UP"]
# lint.ignore = ["E741"]
# target-version = "py310"
# fix = true
# line-length = 120
# [tool.ruff.lint.pydocstyle]
# convention = "google"