Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
pull_request:

env:
UV_FROZEN: '1'

jobs:
test:
name: Py ${{ matrix.python }} / Django ${{ matrix.django }}
Expand All @@ -28,6 +31,8 @@ jobs:
- name: Test build
run: |
uv build --sdist
- name: Test lock
run: env -u UV_FROZEN uv lock --check
- name: Run Tests
run: |
uv run spirit startproject test_project
Expand Down
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include MANIFEST.in
include LICENSE
include README.md
include HISTORY.md

graft spirit

global-exclude __pycache__
global-exclude *.py[co]
global-exclude .*
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ buildcss:
sdist: test clean
uv build --sdist

release: sdist
twine check dist/* && twine upload dist/*

txpush:
uv run -- manage.py spiritmakemessages --locale en && \
uv run manage.py spirittxpush
Expand All @@ -39,4 +36,4 @@ start:
start_tasks_manager:
uv run manage.py run_huey

.PHONY: clean test sdist release docs txpush txpull tx start start_tasks_manager
.PHONY: clean test sdist docs txpush txpull tx start start_tasks_manager
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
"Pillow>=11",
"olefile==0.47",
"django-infinite-scroll-pagination~=1.3",
"django-djconfig~=0.11.0",
"django-djconfig~=0.11",
"tzdata",
]
classifiers = [
Expand Down Expand Up @@ -63,13 +63,6 @@ license-files = []
[tool.setuptools.dynamic]
version = { attr = "spirit.__version__" }

[tool.setuptools.package-data]
"*" = ["LICENSE", "README.md", "HISTORY.md"]
"spirit" = ["**/*"]

[tool.setuptools.exclude-package-data]
"*" = ["__pycache__/*", "*.py[co]", ".*"]

[tool.ruff]
src = ["spirit"]
line-length = 88
Expand Down
7 changes: 4 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.