mirror of
https://github.com/9001/copyparty.git
synced 2026-04-12 23:32:32 -06:00
fix exe build
This commit is contained in:
parent
c20c75cb76
commit
266d6e0ae6
|
|
@ -57,6 +57,8 @@ rm -rf mods/magic/
|
||||||
sed -ri /pickle/d mods/jinja2/_compat.py
|
sed -ri /pickle/d mods/jinja2/_compat.py
|
||||||
sed -ri '/(bccache|PackageLoader)/d' mods/jinja2/__init__.py
|
sed -ri '/(bccache|PackageLoader)/d' mods/jinja2/__init__.py
|
||||||
af '/^class/{s=0}/^class PackageLoader/{s=1}!s' mods/jinja2/loaders.py
|
af '/^class/{s=0}/^class PackageLoader/{s=1}!s' mods/jinja2/loaders.py
|
||||||
|
sed -ri 's/from url.*Request, urlopen.*/pass/' mods/copyparty/svchub.py
|
||||||
|
sed -ri 's/(.*"--vc-.*, help=).*/\1argparse.SUPPRESS)/' mods/copyparty/__main__.py
|
||||||
}
|
}
|
||||||
[ $w10 ] && {
|
[ $w10 ] && {
|
||||||
sed -ri '/(bccache|PackageLoader)/d' $spkgs/jinja2/__init__.py
|
sed -ri '/(bccache|PackageLoader)/d' $spkgs/jinja2/__init__.py
|
||||||
|
|
@ -84,8 +86,6 @@ excl=(
|
||||||
ctypes.macholib
|
ctypes.macholib
|
||||||
curses
|
curses
|
||||||
email._header_value_parser
|
email._header_value_parser
|
||||||
email.header
|
|
||||||
email.parser
|
|
||||||
importlib.resources
|
importlib.resources
|
||||||
importlib_resources
|
importlib_resources
|
||||||
multiprocessing
|
multiprocessing
|
||||||
|
|
@ -95,8 +95,6 @@ excl=(
|
||||||
pkg_resources
|
pkg_resources
|
||||||
PIL.EpsImagePlugin
|
PIL.EpsImagePlugin
|
||||||
pyftpdlib.prefork
|
pyftpdlib.prefork
|
||||||
urllib.request
|
|
||||||
urllib.response
|
|
||||||
urllib.robotparser
|
urllib.robotparser
|
||||||
)
|
)
|
||||||
[ $w10 ] && excl+=(
|
[ $w10 ] && excl+=(
|
||||||
|
|
@ -111,12 +109,16 @@ excl=(
|
||||||
PIL.PdfParser
|
PIL.PdfParser
|
||||||
zipimport
|
zipimport
|
||||||
) || excl+=(
|
) || excl+=(
|
||||||
|
email.header
|
||||||
|
email.parser
|
||||||
inspect
|
inspect
|
||||||
PIL
|
PIL
|
||||||
PIL.ExifTags
|
PIL.ExifTags
|
||||||
PIL.Image
|
PIL.Image
|
||||||
PIL.ImageDraw
|
PIL.ImageDraw
|
||||||
PIL.ImageOps
|
PIL.ImageOps
|
||||||
|
urllib.request
|
||||||
|
urllib.response
|
||||||
zipfile
|
zipfile
|
||||||
)
|
)
|
||||||
excl=( "${excl[@]/#/--exclude-module }" )
|
excl=( "${excl[@]/#/--exclude-module }" )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue