generated from JimFawkes/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (51 loc) · 1.22 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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 100
target-version = ["py38"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module="britz"
author="Moritz Eilfort"
author-email="[email protected]"
home-page="https://github.com/JimFawkes/britz"
requires=[
"pglast==1.13",
"loguru==0.5.3",
"rich==9.10.0"
]
requires-python=">=3.8"
description-file="README.md"
classifiers=[
"Intended Audience :: Developers",
'Natural Language :: English',
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.flit.metadata.requires-extra]
test=[
"pytest==6.1.1",
"pytest-cov",
]
[tool.flit.entrypoints.console_scripts]
britz="britz.cli:cli"