summaryrefslogtreecommitdiff
path: root/README.md
blob: 317ca1f38c092b2c983059270d894ffdae21a6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# hatch-django-collectstatic

Collect a django project's static files into its binary distribution
archive.

Example usage:

```
[build-system]
requires = ["hatchling >= 1.26", "hatch-django-collectstatic"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel.hooks.django-collectstatic]
settings = "my_django_package.project.settings"

[tool.hatch.build.targets.wheel.shared-data]
"static" = "share/static"
```