forked from py-pdf/fpdf2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
66 lines (62 loc) · 2 KB
/
setup.cfg
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
[metadata]
name = fpdf2
url = https://py-pdf.github.io/fpdf2/
description = Simple & fast PDF generation for Python
long_description = file: README.md
long_description_content_type = text/markdown
author = Olivier PLATHEY ported by Max
maintainer = Lucas Cimon
license = LGPL-3.0-or-later
project_urls =
Documentation = https://py-pdf.github.io/fpdf2/
Code = https://github.com/py-pdf/fpdf2
Issue tracker = https://github.com/py-pdf/fpdf2/issues
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Programming Language :: Python
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
Operating System :: OS Independent
Topic :: Printing
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Text Processing :: Markup
Topic :: Multimedia :: Graphics
Topic :: Multimedia :: Graphics :: Presentation
keywords =
pdf
unicode
png
jpg
ttf
barcode
[options]
packages =
fpdf
python_requires = >=3.7
install_requires =
defusedxml
Pillow>=6.2.2,!=9.2.* # minimum version tested there: https://github.com/py-pdf/fpdf2/actions/runs/2295868575
# Version 9.2.0 is excluded due to DoS vulnerability with TIFF images: https://github.com/py-pdf/fpdf2/issues/628
# Version exclusion explained here: https://devpress.csdn.net/python/630462c0c67703293080c302.html
fonttools>=4.34.0
[bdist_wheel]
universal = 1
[flake8]
; E203 whitespace before ':'
; E221 multiple spaces before operator
; E241 multiple spaces after ','
; E251 no spaces around equals
; E701 multiple statements on one line (colon)
; E731 assignment of lambdas
; W503 line break before binary operator
ignore = E203, E221, E241, E251, E701, E731, W503
[tool:pytest]
addopts = --cov=fpdf --cov-report=xml
log_cli = 1
log_cli_level= WARN