packaging: *.gif + pre-gzip js/css;

* web/*.gif was ignored by pyproject.toml
* pre-gzip js/css in dist source tarball
* systemd/archlinux: safer default-config
* readme: "config file example" labeling
This commit is contained in:
ed
2026-09-01 14:50:57 +02:00
parent 936e8a3bf3
commit b854b8f596
10 changed files with 33 additions and 31 deletions
+7 -1
View File
@@ -68,7 +68,7 @@ scripts/genlic.py "$rls_dir/copyparty/res/COPYING.txt"
cd "$rls_dir"
find -type d -exec chmod 755 '{}' \+
find -type f -exec chmod 644 '{}' \+
find -type f -exec chmod u+rw,go+r '{}' \+
commaver="$(
printf '%s\n' "$ver" |
@@ -99,6 +99,12 @@ rm -f \
cp -pv LICENSE LICENSE.txt
mv setup.py{,.disabled}
( cd copyparty/web
make -j$(nproc)
rm Makefile*
printf 'all:\n\t@echo "NOTE: no longer necessary to run copyparty/web/Makefile when building from source tarball"\n' >Makefile
)
# the regular cleanup memes
find -name '*.pyc' -delete
find -name __pycache__ -delete