Skip to content

Commit

Permalink
Chore: comments for macos build script (#2228)
Browse files Browse the repository at this point in the history
Co-authored-by: k9ert <[email protected]>
  • Loading branch information
moneymanolis and k9ert authored Mar 15, 2023
1 parent 5e98862 commit aa5aaeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ function create_virtualenv_for_pyinstaller {
echo " --> Deleting .buildenv"
rm -rf .buildenv
fi
# linux:
# virtualenv --python=python3 .buildenv
# we do:
virtualenv --python=/usr/local/bin/python3 .buildenv
# This currently assumes to be run with: Python 3.10.4
# Important: pyinstaller needs a Python binary with shared library files
# With pyenv, for example, you get this like so: env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.10.4
virtualenv .buildenv
source .buildenv/bin/activate
pip3 install -e ".[test]"
}
Expand Down

0 comments on commit aa5aaeb

Please sign in to comment.