-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (63 loc) · 1.77 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
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "full-python-lib"
version = "0.0.1"
description = "Small package template"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
license = { file = "LICENSE"}
keywords = ["your", "own", "keywords", "example", "sample"]
authors = [
{ name = "Dogukan Mertoglu", email = "dogukan.mertoglu01@gmail.com"}
]
maintainers = [
{ name = "Dogukan Mertoglu", email = "dogukan.mertoglu01@gmail.com" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed"
]
dependencies = [
"attrs" # this is just pretending that this package is depending on attrs
]
[project.scripts]
hello-world = "single_file:main"
[project.urls]
homepage = "https://github.com/dokick/full-python-lib"
documentation = "https://github.com/dokick/full-python-lib"
repository = "https://github.com/dokick/full-python-lib"
[project.optional-dependencies]
dev = [
"coverage >=7",
"isort >=5",
"pylint >=3",
"pytest >=7",
"tox-conda"
]
[tool.setuptools]
py-modules = ["single_file"]
[tool.setuptools.packages.find]
where = ["src"]
# no build config at this point
[tool.coverage.report]
omit = ["tests/*"]
[tool.isort]
verbose = true
[tool.pylint.main]
fail-on = "F, E, W"
fail-under = 8 # this value can be tweaked
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
testpaths = [
"tests"
]