-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.13 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "py_template"
description = "Template Python repository"
dynamic = ["version"]
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { file = "LICENSE.rst", content-type = "text/plain" }
authors = [
{ name = "Jeff Jennings", email = "jjennings@flatironinstitute.org" },
]
requires-python = ">=3.10"
dependencies = ["numpy>=1.24"]
[project.optional-dependencies]
test = [
"pytest",
"coverage",
"coverage-badge",
]
docs = [
"sphinx",
"sphinx-automodapi",
"sphinx_rtd_theme",
"sphinxcontrib-fulltoc",
"nbsphinx",
"jupyter_client",
"ipykernel",
]
coding_standards = [
"ruff",
]
type_checking = [
"mypy",
]
dev = ["py_template[test, docs, coding_standards]"]
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
[tool.pytest.ini_options]
testpaths = [
"test",
"docs",
]
[tool.mypy]
exclude = [
"docs",
]
explicit_package_bases = "True"
[tool.coverage.run]
omit = [
"py_template/__init*",
"*/py_template/__init*",
"test/*",
"*/test/*",
]