Skip to content

Commit 7a390da

Browse files
committed
Don't bundle deps for site packages
1 parent 59457bf commit 7a390da

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

linuxdeploy-plugin-python.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,26 @@ show_usage () {
3737
echo " NPROC=\"${NPROC}\""
3838
echo " The number of processors to use for building Python from a"
3939
echo " source distribution"
40-
echo ""
40+
echo
4141
echo " PIP_OPTIONS=\"${PIP_OPTIONS}\""
4242
echo " Options for pip when bundling extra site-packages"
43-
echo ""
43+
echo
4444
echo " PIP_REQUIREMENTS=\"${PIP_REQUIREMENTS}\""
4545
echo " Specify extra site-packages to embed in the AppImage. Those are"
4646
echo " installed with pip as requirements"
47-
echo ""
47+
echo
4848
echo " PYTHON_BUILD_DIR=\"\""
4949
echo " Set the build directory for Python. A temporary one will be"
5050
echo " created otherwise"
51-
echo ""
51+
echo
5252
echo " PYTHON_CONFIG=\"${PYTHON_CONFIG}\""
5353
echo " Provide extra configuration flags for the Python build. Note"
5454
echo " that the install prefix will be overwritten"
55-
echo ""
55+
echo
5656
echo " PYTHON_SOURCE=\"${PYTHON_SOURCE}\""
5757
echo " The source to use for Python. Can be a directory, an url or/and"
5858
echo " an archive"
59-
echo ""
59+
echo
6060
}
6161

6262
APPDIR=
@@ -272,8 +272,6 @@ mkdir -p "${APPDIR}/usr/lib"
272272
cd "${APPDIR}/${prefix}/lib/${PYTHON_X_Y}"
273273
relpath="../../${prefix}/lib/${PYTHON_X_Y}"
274274
find "lib-dynload" -name '*.so' -type f | while read file; do patch_binary "${file}" "${relpath}"; done
275-
find "site-packages" -name '*.so' -type f | while read file; do patch_binary "${file}" "${relpath}"; done
276-
find "site-packages" -name 'lib*.so*' -type f | while read file; do patch_binary "${file}" "${relpath}"; done
277275

278276

279277
# Copy any TCl/Tk shared data

0 commit comments

Comments
 (0)