-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move setup.py config to pyproject.toml (#133)
* Move setup.py meta to pyproject.toml and update build tools * Add changelog and issue links to pyproject.toml * Adjust order of classifiers * Add license classifier [skip ci] * Fix setuptools not getting version * Don't include test package in build --------- Co-authored-by: Steven Sklar <[email protected]>
- Loading branch information
1 parent
4546b63
commit c87b01d
Showing
4 changed files
with
47 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
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
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,42 @@ | ||
[project] | ||
name = "django-sendgrid-v5" | ||
dynamic = ["version"] | ||
description = "An implementation of Django's EmailBackend compatible with sendgrid-python v5+" | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{ name = "Steven Sklar", email = "[email protected]" }, | ||
] | ||
keywords = [ | ||
"backend", | ||
"django", | ||
"email", | ||
"sendgrid", | ||
] | ||
classifiers = [ | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"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", | ||
] | ||
dependencies = [ | ||
"django >=1.8", | ||
"python-http-client >=3.0.0", | ||
"sendgrid >=5.0.0", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/sklarsa/django-sendgrid-v5" | ||
Changelog = "https://github.com/sklarsa/django-sendgrid-v5/releases" | ||
Bug = "https://github.com/sklarsa/django-sendgrid-v5/issues" | ||
|
||
[tool.black] | ||
multi_line_output = 3 | ||
include_trailing_comma = true | ||
|
@@ -10,6 +49,12 @@ line_length = 88 | |
profile = "black" | ||
multi_line_output = 3 | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "sendgrid_backend.version.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["test*"] | ||
|
||
[tool.tox] | ||
legacy_tox_ini = """ | ||
[tox] | ||
|