Skip to content

Commit

Permalink
fix typo in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
gdurif committed Apr 20, 2023
1 parent c7e6d0f commit 5c91354
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build_pkg.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
# build wheel and source package

## Current working directory (should be root project directory)
Expand All @@ -10,14 +11,14 @@ function cleanup() {
trap cleanup EXIT

## create (if necessary) and activate dedicated python environment
PYENV=".pydevenv"
PYENV="$WD/.pydevenv"
if [[ ! -d ${PYENV} ]]; then
python -m venv $PYENV
else

fi
source ${PYENV}/bin/activate
pip install -U setuptools cibuildwheel

## install development requirements
pip install -U setuptools cibuildwheel

## go to python package directory
cd python-package
Expand Down

0 comments on commit 5c91354

Please sign in to comment.