Skip to content

Commit aa5aaeb

Browse files
moneymanolisk9ert
andauthored
Chore: comments for macos build script (#2228)
Co-authored-by: k9ert <k9ert@gmx.de>
1 parent 5e98862 commit aa5aaeb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/build-osx.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ function create_virtualenv_for_pyinstaller {
1313
echo " --> Deleting .buildenv"
1414
rm -rf .buildenv
1515
fi
16-
# linux:
17-
# virtualenv --python=python3 .buildenv
18-
# we do:
19-
virtualenv --python=/usr/local/bin/python3 .buildenv
16+
# This currently assumes to be run with: Python 3.10.4
17+
# Important: pyinstaller needs a Python binary with shared library files
18+
# With pyenv, for example, you get this like so: env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.10.4
19+
virtualenv .buildenv
2020
source .buildenv/bin/activate
2121
pip3 install -e ".[test]"
2222
}

0 commit comments

Comments
 (0)