Skip to content

Commit

Permalink
trying with virtualenv binary instead of python3 -m virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
maltfield committed Mar 29, 2024
1 parent 52aa3fc commit 188dc2e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build/mac/buildDmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,17 @@ ${BREW} install --debug --verbose --ignore-dependencies --skip-cask-deps build/d
${BREW} install --debug --verbose --ignore-dependencies --skip-cask-deps --force build/deps/virtualenv-20-25.1.ventura.bottle.tar.gz
${PYTHON_PATH} -m pip list

# create python virtual environment
# * https://github.com/BusKill/buskill-app/issues/78#issuecomment-2021558890
mkdir "${VENV_PATH}"
#${PYTHON_PATH} -m virtualenv "${VENV_PATH}"
ls -lah "{VENV_PATH}"
virtualenv "${VENV_PATH}"
ls -lah "{VENV_PATH}"
PYTHON_PATH="${VENV_PATH}/bin/python"
${PYTHON_PATH} --version
${PYTHON_PATH} -m pip list

${BREW} uninstall --debug --verbose --ignore-dependencies python
#brew -v reinstall build/deps/python-3.7.8.catalina.bottle.tar.gz
${BREW} reinstall --debug --verbose build/deps/python-3.11.ventura.bottle.tar.gz
Expand All @@ -221,8 +232,13 @@ ${PYTHON_PATH} -m pip list
# create python virtual environment
# * https://github.com/BusKill/buskill-app/issues/78#issuecomment-2021558890
mkdir "${VENV_PATH}"
${PYTHON_PATH} -m virtualenv "${VENV_PATH}"
#${PYTHON_PATH} -m virtualenv "${VENV_PATH}"
ls -lah "{VENV_PATH}"
virtualenv "${VENV_PATH}"
ls -lah "{VENV_PATH}"
PYTHON_PATH="${VENV_PATH}/bin/python"
${PYTHON_PATH} --version
${PYTHON_PATH} -m pip list

# get more info immediately post-python install
#ls -lah /usr/local/Cellar/python/
Expand Down

0 comments on commit 188dc2e

Please sign in to comment.