-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
47 lines (40 loc) · 1.14 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
# https://peps.python.org/pep-0621/
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "package-name"
dynamic = ["version"]
authors = [
{name = "Mohsen Hariri", email = "[email protected]"},
]
description = "A [simple] [general-purpose] Python template 🐍🚀🎉🦕"
keywords = ["Boilerplate", "Template"]
license = {text = "GPL-3.0 License"}
# https://github.com/pypi/warehouse/issues/869
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
dependencies = [
'importlib-metadata; python_version<"3.8"',
]
[tool.setuptools]
packages = ["pkg","pkg.pkg2"]
[tool.setuptools.dynamic]
# version = { attr = "medviz.__version__" }
version = {file = ["VERSION"]}
[tool.black]
line-length = 88
target-version = ["py38"]
[tool.ruff]
src = ["pkg"]
target-version = "py38"
[tool.isort]
profile = "black"
known_first_party = "medviz"
skip_glob = ["**/__init__.py"]