Skip to content

Commit 0db1d2e

Browse files
committed
More changes
1 parent 897f590 commit 0db1d2e

5 files changed

Lines changed: 583 additions & 90 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
uses: astral-sh/setup-uv@v6
3838
with:
3939
python-version: ${{ matrix.python-version }}
40-
- name: Generate lock file for specific django version
41-
run: uv lock -P django~=${{ matrix.django-version }}
40+
- name: Use specific django version
41+
run: uv add -U django~=${{ matrix.django-version }}
4242
- name: Install dependencies
4343
run: uv sync --all-extras
4444
- name: Run tests

_setup.py

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

pyproject.toml

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,56 @@
11
[project]
22
name = "django-heralder"
3-
version = "0.1.0"
4-
#requires-python = ">=3.9"
3+
version = "0.0.0"
4+
requires-python = ">=3.9"
5+
readme = "README.md"
6+
license = "MIT"
7+
description = "description="Django library for separating the message content from transmission method."
8+
authors = [
9+
{ name = "PJ Farrell", email = "pj@mariska.dev" }
10+
]
11+
512
dependencies = [
6-
"django>=3.2,<4; python_version<='3.10'",
7-
"django>=4.2,<5; python_version<='3.12'",
8-
"django>=5.2,<6; python_version<='3.13'",
13+
"django>=3.2",
914
"jsonpickle>=4.1.1",
1015
]
1116

17+
keywords = [
18+
"django",
19+
"notifications",
20+
"messaging",
21+
]
22+
23+
classifiers = [
24+
"Development Status :: 5 - Production/Stable",
25+
"Framework :: Django",
26+
"Intended Audience :: Developers",
27+
"Framework :: Django",
28+
"Framework :: Django :: 3.2",
29+
"Framework :: Django :: 4.2",
30+
"Framework :: Django :: 5.2",
31+
"Programming Language :: Python",
32+
"Programming Language :: Python :: 3",
33+
"Programming Language :: Python :: 3.7",
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3.11",
38+
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3 :: Only",
40+
"License :: OSI Approved :: MIT License",
41+
]
42+
1243
[project.optional-dependencies]
1344
twilio = [
1445
"twilio>=8.11.1",
1546
]
1647
html2text = [
17-
"html2text",
48+
"html2text>=2025.2.26",
1849
]
1950

2051
[dependency-groups]
2152
dev = [
2253
"coveralls>=4.0.1",
2354
"mock>=5.2.0",
2455
"pytz>=2025.2",
25-
]
56+
]

setup.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
import sys
3+
4+
sys.stderr.write(
5+
"""\
6+
===============================
7+
Unsupported installation method
8+
===============================
9+
This project no longer supports installation with `python setup.py install`.
10+
Please use `python -m pip install .` instead.
11+
"""
12+
)
13+
sys.exit(1)

0 commit comments

Comments
 (0)