mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Build: Uninstall Cython from AppImage
Cython is not needed at runtime.
-----
taken from c64910055d
related #5859
This commit is contained in:
parent
80025a3af4
commit
4406eebbfe
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue