-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (69 loc) · 1.57 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
# see https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm>=6.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/datasources/_version.py"
[project]
name = "datasources"
description = "Datasources workflow"
readme = "README.md"
keywords = ["bioinformatics"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
dependencies = [
'importlib-metadata; python_version>="3.7"',
'jsonschema',
'pypandoc',
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {attr = "datasources.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools]
package-data = { datasources = [
"workflow/Snakefile",
"workflow/envs/*",
"workflow/rules/*.smk",
"workflow/schemas/*",
"config/*",
".test/*"
]}
[project.scripts]
datasources = "datasources.__main__:main"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --doctest-modules"
pythonpath = [
"src"
]
testpaths = [
"tests",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39
isolated_build = true
[testenv]
changedir = tests
deps =
pytest
pytest-cov
pip>=7.0.0
snakemake
wheel
commands =
pytest --basetemp="{envtmpdir}" {posargs}
"""