forked from cmdoret/clop
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.06 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (50 loc) · 1.06 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
[project]
name = "clop"
description = "Contrastive Language Omics Pre-training"
authors = [
{ name = "baudrly" },
{ name = "cmdoret" },
]
license = { text = "MIT" }
license-files = ["LICEN[CS]E*"]
readme = "README.md"
requires-python = ">=3.11,<3.12"
dynamic = ["version"]
dependencies = [
"fpdf2",
"matplotlib",
"numpy",
"pandas",
"pygments",
"scikit-learn",
"seaborn",
"torch",
]
[project.optional-dependencies]
webapp = ["tensorflow", "tensorflowjs"]
onnx = ["onnx", "onnxruntime", "onnx-tf"]
[dependency-groups]
dev = [
"ruff",
"pre-commit",
"pytest",
]
[project.scripts]
clop = "clop.clop:main"
[project.urls]
Homepage = "https://github.com/baudrly/clop"
[tool.ruff]
# Allow lambda functions
lint.ignore = ["E731"]
line-length = 79
[tool.pytest.ini_options]
addopts = ["--doctest-modules"]
testpaths = ["clop", "tests"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/clop/__init__.py"
pattern = '__version__ = "(?P<version>[^"]+)"'
[tool.hatch.build.targets.wheel]
packages = ["src/clop"]