forked from moskomule/pyproject_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.28 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "{repo_name}"
description = ''
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
keywords = []
authors = [
{{ name = "{owner_name}", email = "{owner_name}@users.noreply.github.com" }},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"rich"
]
dynamic = ["version"]
[tool.hatch.envs.default.env-vars]
PIP_EXTRA_INDEX_URL = "https://pypi.org/simple/"
[project.urls]
Documentation = "https://{owner_name}.github.io/{repo_name}"
Issues = "https://github.com/{owner_name}/{repo_name}/issues"
Source = "https://github.com/{owner_name}/{repo_name}"
[tool.hatch.version]
path = "{repo_name}/__about__.py"
[tool.hatch.envs.tests]
dependencies = [
"pytest",
]
[[tool.hatch.envs.test.matrix]]
python = ["310", ]
[tool.hatch.envs.docs]
extra-dependencies = [
"mkdocs-material",
"mkdocstrings[python]"
]
[tool.hatch.envs.docs.scripts]
build = "mkdocs build --clean --strict"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
"/tests",
]