-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
060a276
commit ef9ae1f
Showing
2 changed files
with
54 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,50 @@ | ||
[project] | ||
name = "django-renderpdf" | ||
authors = [ | ||
{name = "Hugo Osvaldo Barrera", email = "[email protected]"}, | ||
# TODO: change email elsewhere | ||
] | ||
description = "A django app to render django templates as PDF files." | ||
readme = "README.rst" | ||
requires-python = ">=3.7" | ||
keywords = ["django", "weasyprint", "pdf"] | ||
license = {text = "ISC"} | ||
classifiers = [ | ||
"Development Status :: 6 - Mature", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.0", | ||
"Framework :: Django :: 4.1", | ||
"Framework :: Django :: 4.2", | ||
"License :: OSI Approved :: ISC License (ISCL)", | ||
"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", | ||
"Topic :: Internet :: WWW/HTTP", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"django>=2.2", | ||
"weasyprint", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"sphinx", | ||
] | ||
|
||
[project.urls] | ||
repository = "https://github.com/WhyNotHugo/django-renderpdf/" | ||
documentation = "https://django-renderpdf.readthedocs.io/" | ||
changelog = "https://github.com/WhyNotHugo/django-renderpdf/blob/main/CHANGELOG.rst" | ||
issues = "https://github.com/WhyNotHugo/django-renderpdf/issues/" | ||
funding = "https://whynothugo.nl/sponsor/" | ||
|
||
[tool.black] | ||
target-version = ['py38'] | ||
|
||
|
@@ -51,3 +98,10 @@ target-version = "py38" | |
|
||
[tool.ruff.isort] | ||
force-single-line = true | ||
|
||
[tool.setuptools] | ||
packages = ["django_renderpdf"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "django_renderpdf/version.py" | ||
version_scheme = "post-release" |