Browse Source
Build: Uninstall Cython from AppImage
Cython is not needed at runtime.
-----
taken from c64910055d
related #5859
hard-fail-on-bad-server-string
Axel Gembe
5 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
2 deletions
-
contrib/build-linux/appimage/build.sh
|
|
@ -138,6 +138,9 @@ mkdir -p "$CACHEDIR/pip_cache" |
|
|
|
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" -r "$CONTRIB/deterministic-build/requirements-hw.txt" |
|
|
|
"$python" -m pip install --no-dependencies --no-warn-script-location --cache-dir "$CACHEDIR/pip_cache" "$PROJECT_ROOT" |
|
|
|
|
|
|
|
# was only needed during build time, not runtime |
|
|
|
"$python" -m pip uninstall -y Cython |
|
|
|
|
|
|
|
|
|
|
|
info "copying zbar" |
|
|
|
cp "/usr/lib/x86_64-linux-gnu/libzbar.so.0" "$APPDIR/usr/lib/libzbar.so.0" |
|
|
@ -203,8 +206,6 @@ rm -rf "$PYDIR"/{ctypes,sqlite3,tkinter,unittest}/test |
|
|
|
rm -rf "$PYDIR"/distutils/{command,tests} |
|
|
|
rm -rf "$PYDIR"/config-3.7m-x86_64-linux-gnu |
|
|
|
rm -rf "$PYDIR"/site-packages/{opt,pip,setuptools,wheel} |
|
|
|
rm -rf "$PYDIR"/site-packages/Cython/Tests |
|
|
|
rm -rf "$PYDIR"/site-packages/Cython/*/Tests |
|
|
|
rm -rf "$PYDIR"/site-packages/Cryptodome/SelfTest |
|
|
|
rm -rf "$PYDIR"/site-packages/{psutil,qrcode,websocket}/tests |
|
|
|
for component in connectivity declarative help location multimedia quickcontrols2 serialport webengine websockets xmlpatterns ; do |
|
|
|