forked from Engenere/BrazilFiscalReport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (81 loc) · 2.09 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["brazilfiscalreport*"]
[project]
name = "BrazilFiscalReport"
dynamic = ["version"]
description = "Python library for generating Brazilian auxiliary fiscal documents in PDF from XML documents."
authors = [{ name = "Engenere" }]
keywords = [
"nfe", "danfe", "xml", "pdf", "documento", "fiscal", "auxiliar", "converter", "generator", "cce", "dacce"
]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.8"
dependencies = [
"fpdf2",
"phonenumbers",
"python-barcode"
]
# DACTE specific dependencies
[project.optional-dependencies]
dacte = [
"qrcode",
]
# DAMDFE specific dependencies
damdfe = [
"qrcode",
]
# Dependencies CLI
cli = [
"click",
"PyYAML",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
homepage = "https://github.com/Engenere/BrazilFiscalReport"
[project.scripts]
bfrep = "brazilfiscalreport.__main__:cli"
[tool.setuptools.dynamic]
version = {attr = "brazilfiscalreport.__version__"}
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# flake8-comprehensions
"C4",
# isort
"I",
]
isort = { known-first-party = ['brazilfiscalreport', 'test'] }
[tool.doc8]
max-line-length = 88