generated from mpi-astronomy/mpia-python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1.17 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
[project]
name = "my_package"
authors = [{name = "Example Author", email = "[email protected]"}]
description = "An example package"
readme = "README.md"
license = { file = 'LICENSE' }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
]
dynamic = ['version']
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx-automodapi",
"numpydoc",
]
test = [
"pytest",
"pytest-doctestplus",
"flake8",
"flake8-pyproject",
"codecov",
"pytest-cov",
]
[project.urls]
"Bug Tracker" = "https://github.com/mpi-astronomy/snowblind/issues"
"Source Code" = "https://github.com/mpi-astronomy/snowblind"
[build-system]
requires = [
"setuptools>=60",
"setuptools_scm>=8.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/my_package/_version.py"
[tool.setuptools.packages.find]
where = ["src"]
[tool.flake8]
max-line-length = 130
exclude = [
'docs',
'.tox',
'.eggs',
'build',
'*_version.py',
]
[tool.coverage.run]
omit = [
"_version.py",
]