From 2d309131ba6ac57c21f3b1674dc0940c4f4fbfe1 Mon Sep 17 00:00:00 2001 From: Chris Streeter Date: Sat, 26 Jul 2025 22:14:02 -0400 Subject: [PATCH 1/2] packaging updates --- .python-version | 1 + setup.cfg | 3 --- setup.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12 diff --git a/setup.cfg b/setup.cfg index 80d43a1..5838cae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[wheel] -universal = 1 - [metadata] # This includes the license file(s) in the wheel. # https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file diff --git a/setup.py b/setup.py index cad0251..cc8b280 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,6 @@ classifiers=[ "Framework :: Django", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", From fb7ddaf6ab415dd574a6525d5481465e71a3bdf9 Mon Sep 17 00:00:00 2001 From: Chris Streeter Date: Sat, 26 Jul 2025 22:14:47 -0400 Subject: [PATCH 2/2] update the publish script --- publish.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/publish.sh b/publish.sh index da3bed4..6294bf8 100755 --- a/publish.sh +++ b/publish.sh @@ -2,8 +2,8 @@ rm -rf build dist django_ormcache.egg-info -pip install -U setuptools wheel build +uv pip install -U setuptools wheel -python -m build . +uv build -twine upload dist/* +uv publish