-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
89 lines (74 loc) · 1.89 KB
/
pyproject.toml
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
[project]
name ="big-scape"
version = "2.0.0-beta.2"
description = "Biosynthetic Gene Similarity Clustering and Prospecting Engine"
requires-python = ">=3.11"
license = { file = "LICENSE" }
authors = [
{ name = "Arjan Draisma", email = "arjan.draisma@wur.nl"},
{ name = "Catarina Loureiro", email = "catarina.salesesantosloureiro@wur.nl"},
{ name = "Nico Louwen", email = "nico.louwen@wur.nl"},
{ name = "Jorge Navarro", email = "jorge.navarromunoz@wur.nl"},
{ name = "Marnix Medema", email = "marnix.medema@wur.nl"}
]
[project.scripts]
bigscape = "big_scape.__main__:main"
[project.optional-dependencies]
dev = [
# testing
"pytest",
"coverage",
"coverage-badge",
# documentation
"mkdocs",
"mkdocstrings-python",
# other tools
"pre-commit",
"anybadge",
# linting
"pylint",
# type stubs (https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports)
"types-psutil",
"networkx-stubs",
"data-science-types",
"types-tqdm",
"types-setuptools"
]
[project.urls]
"Repository" = "https://github.com/medema-group/BiG-SCAPE"
# TODO: documentation
[tool.setuptools.package-data]
'big_scape' = ['config.yml']
'data' = ['data/schema.sql']
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel.force-include]
# no idea why this is needed. I guess it decides the underscore is unnecessary
"big_scape" = "bigscape"
[tool.hatch.envs.bigscape]
type = "conda"
command = "mamba"
environment-file = "environment.yml"
[tool.hatch.envs.dev]
type = "conda"
command = "mamba"
environment-file = "environment.yml"
features = [
"dev"
]
[tool.hatch.envs.hatch-test]
features = [
"dev"
]
type = "conda"
command = "mamba"
environment-file = "environment.yml"
default-args = ["test"]
[tool.coverage.run]
omit = [
"test/*"
]
[tool.black]
line-length = 88
target-version = ["py311"]