Skip to content

Commit

Permalink
Create a virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Nov 26, 2019
1 parent ca434ea commit 9869602
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autogen_omero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ test -e $WORKSPACE/OMERO.server
test -e $WORKSPACE/omero-install
test -e $WORKSPACE/omeroweb-install

if [ ! -e $WORKSPACE/venv ]; then
virtualenv $WORKSPACE/venv
$WORKSPACE/venv/bin/pip install -r $WORKSPACE/OMERO.server/share/web/requirements-py27.txt
fi
set +u # PS1 issue
. $WORKSPACE/venv/bin/activate
set -u
export PATH=$WORKSPACE/OMERO.server/bin:$PATH
$WORKSPACE/ome-documentation/omero/autogen_docs

Expand Down

0 comments on commit 9869602

Please sign in to comment.