-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
100 lines (87 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
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "biocommons.eutils"
authors = [
{ name="biocommons contributors", email="biocommons-dev@googlegroups.com" },
]
description = "Python interface to NCBI's eutilities API"
readme = "README.rst"
license = { file="LICENSE.txt" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"lxml",
"pytz",
"requests",
]
[project.optional-dependencies]
dev = [
"flake8",
"ipython",
"mock",
"pre-commit~=3.4",
"pytest",
"pytest-cov",
"restview",
"ruff==0.4.4",
"setuptools",
"sphinx",
"sphinx_rtd_theme",
"tox",
"vcrpy",
]
[project.urls]
"Homepage" = "https://github.com/biocommons/eutils"
"Bug Tracker" = "https://github.com/biocommons/eutils/issues"
[build-system]
requires = [
"setuptools >= 65.3",
"setuptools_scm[toml] ~= 7.0"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = [
"src",
]
exclude = [
"__pycache__",
"*.pyc",
]
namespaces = true
[tool.setuptools.package-data]
"*" = [
"*.gz",
"*.json",
"*.yaml",
]
[tool.setuptools_scm]
# https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
[tool.pytest.ini_options]
testpaths = [
"src",
"tests"
]
addopts = "--doctest-modules --cov-report=term-missing --cov=src"
doctest_optionflags = [
"ALLOW_BYTES",
"ALLOW_UNICODE",
"ELLIPSIS",
"IGNORE_EXCEPTION_DETAIL",
"NORMALIZE_WHITESPACE",
]
markers = [
"network: tests that require network connectivity",
"slow: slow tests that should be run infrequently",
]
[tool.ruff]
src = ["src", "tests"]
line-length = 100