diff options
| author | Charles Roelli <charles@adnoto.net> | 2026-02-05 16:10:03 +0100 |
|---|---|---|
| committer | Charles Roelli <charles@adnoto.net> | 2026-02-05 16:10:03 +0100 |
| commit | 4c12b29ef228c2cf5d5fd0b5964060935907d987 (patch) | |
| tree | b2e55722e4f2e9b87ce03a8d4b7a8a2a13c8ff07 /README.md | |
Version 0.0.2
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..44d074b --- /dev/null +++ b/README.md @@ -0,0 +1,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 = "ppr.project.settings" + +[tool.hatch.build.targets.wheel.shared-data] +"static" = "share/static" +``` |
