-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
84 lines (71 loc) · 2.23 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "html2pdf4doc/__init__.py"
[tool.hatch.build]
# Currently unused:
# We want html2pdf4doc.min.js to be gitignored, but we want it to make into the dist/
# folder, into both tar.gz and .whl when the Pip package is built.
# This option prevents Hatch from using .gitignore to exclude files.
# ignore-vcs = true
include = [
"html2pdf4doc/*.py",
"html2pdf4doc/html2pdf4doc_js/html2pdf4doc.min.js",
]
exclude = [
"/submodules",
"/tests",
]
[project]
name = "html2pdf4doc"
dynamic = ["version"]
description = "Python client for HTML2PDF4Doc JavaScript library."
readme = "README.md"
license = { text = "Apache-2.0" }
license-files = [ "LICENSE" ]
requires-python = ">=3.8"
authors = [
{ name = "Stanislav Pankevich", email = "s.pankevich@gmail.com" },
{ name = "Maryna Balioura", email = "mettta@gmail.com" },
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"selenium",
# Currently only used for detecting a local Chrome installation.
"webdriver-manager",
# requests is used for downloading the Chrome driver.
"requests",
# pypdf is used for validating the printed PDF.
"pypdf>=3.9.0",
]
[project.optional-dependencies]
development = [
# Development tasks
"invoke>=1.4.1",
"tox>=4.4.8",
]
[project.scripts]
html2pdf4doc = "html2pdf4doc.main:main"
html2pdf4doc_fuzzer = "html2pdf4doc.main_fuzzer:main"
[project.urls]
Changelog = "https://github.com/mettta/html2pdf_python/releases/"
Homepage = "https://github.com/mettta/html2pdf_python/"
Source = "https://github.com/mettta/html2pdf_python/"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
pythonpath = [
"."
]