-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (48 loc) · 913 Bytes
/
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
[project]
name = "python-packaging-ch"
authors = [{name = "Chang Huan Lo", email= "[email protected]"}]
description = "Example of how to package Python projects"
readme = "README.md"
requires-python = ">=3.8.0"
dynamic = ["version"]
dependencies = [
"numpy",
"pandas",
"fire",
]
license = {text = "BSD-3-Clause"}
[project.optional-dependencies]
dev = [
"pytest",
"setuptools_scm",
"flake8",
"black",
"pre-commit",
]
[project.scripts]
add_nums = "python_packaging_ch.maths:main"
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.black]
target-version = ['py38', 'py39', 'py310']
skip-string-normalization = false
line-length = 79
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| _build
| build
| dist
)/
)
'''