Skip to content

Commit 329613a

Browse files
authored
Include manifest & test lock (#346)
1 parent 84e4489 commit 329613a

File tree

5 files changed

+21
-15
lines changed

5 files changed

+21
-15
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
pull_request:
88

9+
env:
10+
UV_FROZEN: '1'
11+
912
jobs:
1013
test:
1114
name: Py ${{ matrix.python }} / Django ${{ matrix.django }}
@@ -28,6 +31,8 @@ jobs:
2831
- name: Test build
2932
run: |
3033
uv build --sdist
34+
- name: Test lock
35+
run: env -u UV_FROZEN uv lock --check
3136
- name: Run Tests
3237
run: |
3338
uv run spirit startproject test_project

MANIFEST.in

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
include MANIFEST.in
2+
include LICENSE
3+
include README.md
4+
include HISTORY.md
5+
6+
graft spirit
7+
8+
global-exclude __pycache__
9+
global-exclude *.py[co]
10+
global-exclude .*

Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ buildcss:
2020
sdist: test clean
2121
uv build --sdist
2222

23-
release: sdist
24-
twine check dist/* && twine upload dist/*
25-
2623
txpush:
2724
uv run -- manage.py spiritmakemessages --locale en && \
2825
uv run manage.py spirittxpush
@@ -39,4 +36,4 @@ start:
3936
start_tasks_manager:
4037
uv run manage.py run_huey
4138

42-
.PHONY: clean test sdist release docs txpush txpull tx start start_tasks_manager
39+
.PHONY: clean test sdist docs txpush txpull tx start start_tasks_manager

pyproject.toml

+1-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"Pillow>=11",
1717
"olefile==0.47",
1818
"django-infinite-scroll-pagination~=1.3",
19-
"django-djconfig~=0.11.0",
19+
"django-djconfig~=0.11",
2020
"tzdata",
2121
]
2222
classifiers = [
@@ -63,13 +63,6 @@ license-files = []
6363
[tool.setuptools.dynamic]
6464
version = { attr = "spirit.__version__" }
6565

66-
[tool.setuptools.package-data]
67-
"*" = ["LICENSE", "README.md", "HISTORY.md"]
68-
"spirit" = ["**/*"]
69-
70-
[tool.setuptools.exclude-package-data]
71-
"*" = ["__pycache__/*", "*.py[co]", ".*"]
72-
7366
[tool.ruff]
7467
src = ["spirit"]
7568
line-length = 88

uv.lock

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)