-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (95 loc) · 2.44 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (95 loc) · 2.44 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "dynvision"
version = "0.1.0"
description = "Dynamical Vision Modeling"
authors = [{ name = "Robin Gutzen" }]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
# some packages may be better installed via conda on some systems
dependencies = [
"ruamel.yaml ~=0.18.3",
"python-dotenv ~=1.0.1",
"scipy ==1.12",
"snakemake ~=9.1.5",
"snakemake-executor-plugin-cluster-generic ~=1.0.0",
# "pandas ~=1.2.0",
"scikit-learn >=1.2.0,<2",
"scikit-image >=0.24.0", # bumped for Python 3.12 wheel support
"torch >=2.2.0",
"torchvision >=0.16.0",
"torchsummary ~=1.5.0",
# "opencv-python ~=4.9.0",
"matplotlib ~=3.5.1",
"seaborn ~=0.13.0",
"jupyterlab ~=4.0.0",
"ipympl ~=0.7.0",
"tqdm ~=4.66.0",
"wandb",
"pytorch-lightning >=2.0.0",
"tensorboard",
# "cupy ~= 13.3.0",
"numba ~= 0.61.0",
# "cudatoolkit ~= 11.2",
# "libjpeg-turbo ~= 3.0.0",
# "libtiff == 4.5.1",
"pillow == 10.0.0",
# "opencv ~= 4.10.0",
# "pkg-config ~= 0.29.2",
# "ffcv ~= 1.0.2", # no wheels; needs OpenCV dev files not available on this system
]
[tool]
python_requires = "~= 3.11"
[project.optional-dependencies]
dev = [
"black>=26.5.1", # pin to fix; upgrade to latest when bumping
"bump2version",
"flake8",
"pycodestyle",
"mypy",
"pre-commit",
"pydocstyle",
"pylint",
"pytest",
"pytest-cov",
"pytest-xdist",
]
doc = [
# MkDocs and theme
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.0",
# MkDocs plugins
"mkdocstrings[python]>=0.24.0",
"mkdocs-git-revision-date-localized-plugin>=1.2.0",
"mkdocs-autorefs>=0.5.0",
# Versioned documentation deploys (mkdocs.yml -> extra.version.provider: mike)
"mike>=2.1.0",
# Markdown extensions
"pymdown-extensions>=10.0",
# Optional: for social cards plugin
# "pillow>=10.0.0",
# "cairosvg>=2.7.0",
]
[tool.black]
line-length = 87
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
)/
'''
[tool.flake8]
ignore = "E203"