-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
64 lines (57 loc) · 1.56 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>=65.0", "setuptools-scm>=7.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mypackage"
authors = [{ name="mypackage authors"},]
description = "A GitHub template for Python packages."
dynamic = ["version"]
requires-python = ">=3.8"
license = {file = "LICENSE"}
keywords = ["open source", "templates"]
readme = "README.md"
classifiers = [
"Intended Audience :: Science/Research",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"click",
]
[project.optional-dependencies]
dev = [
"black",
"isort",
"pylint",
"mypy",
"build",
"pytest",
"coverage[toml]",
"pytest-cov",
"sphinx",
"sphinxcontrib-apidoc",
"furo",
"myst_nb",
]
[project.scripts]
mycli = "mypackage.cli:cli"
[project.urls]
"repository" = "https://github.com/scienxlab/python-package-template"
[tool.setuptools_scm]
# This section is empty but required for dynamic versioning.
[tool.pytest.ini_options]
# http://doc.pytest.org/en/latest/customize.html
addopts = "--doctest-modules --ignore=docs --cov=mypackage"
[tool.coverage.run]
# https://coverage.readthedocs.io/en/latest/config.html
omit = [
"src/mypackage/__init__.py",
"src/mypackage/__main__.py",
"src/mypackage/_version.py",
]