Skip to content

Commit

Permalink
https://github.com/qgis/QGIS-Mac-Packager/issues/87
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Sep 22, 2020
1 parent fecef24 commit 7c94749
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qgis_bundle/recipes/python_packages/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ function bundle_python_packages() {
try rm $BUNDLE_PYTHON_PACKAGES_DIR/site-packages/setuptools.pth

cd $BUNDLE_PYTHON_SITE_PACKAGES_DIR
try rm -r *.dist-info
try rm -r *.egg-info

# see QGIS-Mac-Packager#87, *-info is sometimes required,
# so we shouldn't delete it!

# issue #32
# _ssl is already taken in lib-dynload
Expand All @@ -31,7 +32,7 @@ function bundle_python_packages() {
}

function fix_binaries_python_packages() {
install_name_change $DEPS_LIB_DIR/$LINK_unixodbc @rpath/$LINK_unixodbc $BUNDLE_PYTHON_SITE_PACKAGES_DIR/pyodbc.cpython-${VERSION_major_python//./}m-darwin.so
install_name_change $QGIS_DEPS_STAGE_PATH/unixodbc/lib/$LINK_unixodbc @rpath/$LINK_unixodbc $BUNDLE_PYTHON_SITE_PACKAGES_DIR/pyodbc.cpython-${VERSION_major_python//./}m-darwin.so
install_name_change $DEPS_LIB_DIR/$LINK_libssl @rpath/$LINK_libssl $BUNDLE_PYTHON_SITE_PACKAGES_DIR/cryptography/hazmat/bindings/_openssl.abi3.so
install_name_change $DEPS_LIB_DIR/$LINK_libcrypto @rpath/$LINK_libcrypto $BUNDLE_PYTHON_SITE_PACKAGES_DIR/cryptography/hazmat/bindings/_openssl.abi3.so
install_name_change $DEPS_LIB_DIR/$LINK_libffi @rpath/$LINK_libffi $BUNDLE_PYTHON_SITE_PACKAGES_DIR/_cffi_backend.cpython-${VERSION_major_python//./}m-darwin.so
Expand Down

0 comments on commit 7c94749

Please sign in to comment.