1- [tool . poetry ]
1+ [project ]
22name = " docxtpl"
3- version = " 0.20.1 "
3+ dynamic = [ " version " ]
44description = " Python docx template engine"
5- authors = [" Eric Lapouyade" ]
5+ authors = [{ name = " Eric Lapouyade" , email = " elapouya@proton.me " } ]
66readme = " README.rst"
7+ license = " LGPL 2.1"
8+ requires-python = " >=3.7"
9+ classifiers =[
10+ " Intended Audience :: Developers" ,
11+ " Development Status :: 4 - Beta" ,
12+ " Programming Language :: Python :: 3" ,
13+ " Programming Language :: Python :: 3.7" ,
14+ " Programming Language :: Python :: 3.8" ,
15+ " Programming Language :: Python :: 3.9" ,
16+ " Programming Language :: Python :: 3.10" ,
17+ " Programming Language :: Python :: 3.11" ,
18+ " Programming Language :: Python :: 3.12" ,
19+ " Programming Language :: Python :: 3.13" ,
20+ ]
21+ keywords = [" jinja2" ]
22+ dependencies = [
23+ " python-docx (>=1.1.2,<2)" ,
24+ " jinja2" ,
25+ " lxml" ,
26+ ]
27+
28+ [project .optional-dependencies ]
29+ subdoc = [" docxcompose" ]
30+ docs = [" Sphinx" , " sphinxcontrib-napoleon" ]
31+
32+ [dependency-groups ]
33+ dev = [" mypy" , " lxml-stubs" , " flake8" ]
734
8- [tool .poetry .dependencies ]
9- python = " ^3.11"
10- python-docx = " ^1.1.2"
11- docxcompose = " ^1.4.0"
12- jinja2 = " ^3.1.4"
35+ [project .urls ]
36+ homepage = " https://github.com/elapouya/python-docx-template"
37+ repository = " https://github.com/elapouya/python-docx-template.git"
38+ document = " https://docxtpl.readthedocs.org"
1339
40+ [tool .pdm ]
41+ version = {source =" file" , path =" docxtpl/__init__.py" }
42+
43+ [tool .poetry ]
44+ version = ' 0.0.0'
1445
15- [tool .poetry .group .dev .dependencies ]
16- flake8 = " ^7.1.0"
17- black = " ^24.4.2"
18- twine = " ^6.1.0"
19- mypy = " ^1.17.0"
20- lxml-stubs = " ^0.5.1"
46+ [tool .poetry-plugin-version ]
47+ source = " docxtpl/__init__.py"
2148
2249[tool .mypy ]
2350pretty = true
@@ -31,5 +58,5 @@ module = ["docxcompose.*"]
3158ignore_missing_imports = true
3259
3360[build-system ]
34- requires = [" poetry-core " ]
35- build-backend = " poetry.core.masonry.api "
61+ requires = [" pdm-backend " ]
62+ build-backend = " pdm.backend "
0 commit comments