-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpyproject_py37.toml
More file actions
88 lines (80 loc) · 1.58 KB
/
pyproject_py37.toml
File metadata and controls
88 lines (80 loc) · 1.58 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "deepethogram"
version = "0.2.0"
description = "Temporal action detection for biology"
readme = "README.md"
authors = [
{name = "Jim Bohnslav", email = "jbohnslav@gmail.com"},
]
requires-python = ">=3.7,<3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"chardet<4.0",
"h5py",
"kornia>=0.5",
"matplotlib",
"numpy",
"omegaconf>=2",
"opencv-python-headless",
"opencv-transforms",
"pandas<1.4",
"PySide2==5.13.2",
"scikit-learn<1.1",
"scipy<1.8",
"tqdm",
"vidio",
"pytorch_lightning==1.6.5",
]
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"pre-commit>=2.20.0,<3.0.0",
"pytest",
"pytest-cov",
"gdown",
]
[project.scripts]
deepethogram = "deepethogram.gui.main:entry"
[tool.setuptools]
packages = ["deepethogram"]
[tool.ruff]
# Python version compatibility
target-version = "py37"
# Same as Black.
line-length = 120
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"tests/",
"docs/"
]
[tool.ruff.lint]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []