-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathpyproject.toml
87 lines (78 loc) · 2.15 KB
/
pyproject.toml
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
85
86
87
[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 = "sklarsa@gmail.com" },
]
keywords = [
"backend",
"django",
"email",
"sendgrid",
]
classifiers = [
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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 >=4.2",
"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
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.isort]
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]
# https://docs.djangoproject.com/en/5.1/faq/install/#what-python-version-can-i-use-with-django
env_list =
django{42}-py{39,310,311,312}-sendgrid{5,6}
django{5}-py{310,311,312}-sendgrid{5,6}
django{51}-py{310,311,312,313}-sendgrid{5,6}
[gh]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
deps =
django42: Django>=4.2,<4.3
django5: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
sendgrid5: sendgrid>=5,<6
sendgrid6: sendgrid>=6,<7
pytest-cov
commands =
pytest ./test --cov=sendgrid_backend
pass_env =
SENDGRID_API_KEY
TESTING_SENDGRID_EU_API_KEY
"""