Skip to content

Commit

Permalink
use venv instead of virtualenv in build_pip_package.sh (#1222)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen authored Mar 4, 2025
1 parent a1e8ea9 commit cbb3a57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mesop/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ build() (
sedi="sed -i"
fi

command -v virtualenv >/dev/null
[ -d "${RUNFILES}" ]

cp -LR "${RUNFILES}/mesop/mesop" .
Expand All @@ -93,7 +92,7 @@ build() (

chmod -R u+w,go+r .

virtualenv -q -p python3 venv
python3 -m venv venv
export VIRTUAL_ENV=venv
export PATH="${PWD}/venv/bin:${PATH}"
unset PYTHON_HOME
Expand Down

0 comments on commit cbb3a57

Please sign in to comment.