diff --git a/python/build_macosx_wheels.sh b/python/build_macosx_wheels.sh index bc2e446c1..9bb940cd6 100755 --- a/python/build_macosx_wheels.sh +++ b/python/build_macosx_wheels.sh @@ -12,6 +12,7 @@ do echo "Installing pyenv-venv: ${PYENV_VENV}" pyenv virtualenv -f "${PYTHON_VERSION}" "${PYENV_VENV}" pyenv local "${PYENV_VENV}" + eval "$(pyenv init --path)" python --version echo "Installing keyvi python deps..." diff --git a/python/setup.py b/python/setup.py index 46b020f73..eef34aa55 100644 --- a/python/setup.py +++ b/python/setup.py @@ -216,6 +216,7 @@ def patch_for_custom_zlib(zlib_root): link_library_dirs = [ keyvi_build_dir, '/usr/local/lib/', # as of 17/07/2022 Python 3.10 build on GH actions needs '/usr/local/lib/' link library dir + '/opt/homebrew/lib' ] #########################