From 9385daeae82365668013112aef3ada6b29b93f17 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 19 Nov 2025 23:49:23 +0900 Subject: [PATCH] fix pypi packaging; closes #1003 --- copyparty/web/Makefile | 2 +- scripts/make-pypi-release.sh | 1 + scripts/make-sfx.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/copyparty/web/Makefile b/copyparty/web/Makefile index 1390ef50..2ca0f107 100644 --- a/copyparty/web/Makefile +++ b/copyparty/web/Makefile @@ -3,7 +3,7 @@ # but then why are you using copyparty in the first place pk: $(addsuffix .gz, $(wildcard tl/*.js *.js *.css) \ - a/partyfuse.py a/u2c.py a/webdav-cfg.txt ) + a/webdav-cfg.txt ) un: $(addsuffix .un, $(wildcard tl/*.gz *.gz a/*.gz)) %.gz: % diff --git a/scripts/make-pypi-release.sh b/scripts/make-pypi-release.sh index 7e4b9b76..aecfea94 100755 --- a/scripts/make-pypi-release.sh +++ b/scripts/make-pypi-release.sh @@ -10,6 +10,7 @@ gtar=$(command -v gtar || command -v gnutar) || true sed() { gsed "$@"; } find() { gfind "$@"; } sort() { gsort "$@"; } + nproc() { gnproc; } command -v grealpath >/dev/null && realpath() { grealpath "$@"; } } diff --git a/scripts/make-sfx.sh b/scripts/make-sfx.sh index 4ca9cbe8..f9476c33 100755 --- a/scripts/make-sfx.sh +++ b/scripts/make-sfx.sh @@ -584,7 +584,7 @@ gzres() { $pk "$f" & done < <( find -printf '%s %p\n' | - grep -E '\.(js|css)$|/web/a/[^_].*\.(py|txt)$' | + grep -E '\.(js|css)$|/web/a/.*\.txt$' | grep -vF /deps/ | sort -nr )