build: specify rye artifacts

This commit is contained in:
Carlos Quintana 2025-01-16 16:51:13 +01:00
parent 59f44901b4
commit 030f4fd1f4
No known key found for this signature in database
GPG key ID: 15E73DCC410679F8
2 changed files with 4 additions and 3 deletions

View file

@ -5,8 +5,6 @@ on:
branches: branches:
- master - master
pull_request: pull_request:
branches:
- master
jobs: jobs:
lint: lint:

View file

@ -140,5 +140,8 @@ build-backend = "hatchling.build"
[tool.hatch.metadata] [tool.hatch.metadata]
allow-direct-references = true allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = ["app", "local_data", "migrations", "templates"]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["src/tmp"] packages = ["app", "local_data", "migrations", "templates"]