-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (71 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
79 lines (71 loc) · 1.86 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "perturbench"
description = "PerturBench: Benchmarking Machine Learning Models for Cellular Perturbation Analysis"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "..."}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
'numpy',
'pyyaml',
'pandas',
'anndata',
'scanpy',
'scipy==1.12.0',
'tqdm',
'lightning',
"torch<=2.5.1",
"torchvision",
"tensorboard",
"hydra-core",
"hydra_colorlog",
'mlflow-skinny',
'matplotlib',
'seaborn',
'scikit-learn',
'scikit-misc',
'adjusttext',
'pytest',
'rich',
'psycopg2-binary',
'optuna',
'ray',
'python-dotenv',
'geomloss',
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"ruff",
]
test = [
"pytest",
"pytest-cov",
]
cli = [
"click",
"rich",
]
[project.scripts]
train = "perturbench.modelcore.train:main"
predict = "perturbench.modelcore.predict:main"
download = "perturbench.data.accessors.download_all_datasets:main"
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["perturbench*"] # package names should match these glob patterns (["*"] by default)
exclude = ["tests", "docs", "examples"] # exclude packages matching these glob patterns (empty by default)
# namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools.dynamic]
version = {attr = "perturbench.modelcore.VERSION"}
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
[tool.ruff.lint.per-file-ignores]
# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
"__init__.py" = ["F401"]
"*.ipynb" = ["E402", "F401"]
# "path/to/file.py" = ["E402"]