WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 212f1a2

Browse files
pyproject.toml instead of setup.py
1 parent 4391c94 commit 212f1a2

File tree

3 files changed

+59
-84
lines changed

3 files changed

+59
-84
lines changed
File renamed without changes.

pyproject.toml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[build-system]
2+
requires = ["setuptools>=64", "setuptools_scm>=8"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-newsletter"
7+
dynamic = ["version", "readme"]
8+
description = "Django app for managing multiple mass-mailing lists with both plaintext as well as HTML templates (and pluggable WYSIWYG editors for messages), images and a smart queueing system all right from the admin interface."
9+
requires-python = ">=3.9"
10+
authors = [
11+
{ name = "Mathijs de Bruin", email = "[email protected]" },
12+
]
13+
license = "AGPL-3.0-or-later"
14+
license-files = ["LICENSE", "COPYRIGHT"]
15+
classifiers = [
16+
"Development Status :: 6 - Mature",
17+
"Environment :: Web Environment",
18+
"Framework :: Django",
19+
"Framework :: Django :: 4.2",
20+
"Framework :: Django :: 5.2",
21+
"Intended Audience :: Developers",
22+
"Operating System :: OS Independent",
23+
"Programming Language :: Python",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
30+
"Programming Language :: Python :: 3 :: Only",
31+
"Topic :: Utilities",
32+
]
33+
dependencies = [
34+
"Django>=4.2",
35+
"chardet",
36+
"Pillow",
37+
]
38+
39+
[project.optional-dependencies]
40+
test = [
41+
"python-ldap",
42+
"unicodecsv",
43+
"python-card-me",
44+
"django-tinymce",
45+
"django-imperavi",
46+
]
47+
48+
[project.urls]
49+
Homepage = "https://github.com/jazzband/django-newsletter/"
50+
51+
[tool.setuptools]
52+
packages = { find = { exclude = ["tests", "test_project"] } }
53+
include-package-data = true
54+
55+
[tool.setuptools_scm]
56+
version_scheme = "post-release"
57+
58+
[tool.setuptools.dynamic]
59+
readme = { file = ["README.rst", "CHANGES.rst"], content-type = "text/x-rst" }

setup.py

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)