Skip to content

Commit

Permalink
Merge pull request #971 from mvdbeek/venv
Browse files Browse the repository at this point in the history
Allow passing through GALAXY_VIRTUAL_ENV variable to venv setup
  • Loading branch information
mvdbeek committed Nov 21, 2019
2 parents 66fbb3a + 70a8c24 commit ed7f992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion planemo/galaxy/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def setup_venv(ctx, kwds):


def locate_galaxy_virtualenv(ctx, kwds):
if not kwds.get("no_cache_galaxy", False):
if os.environ.get("GALAXY_VIRTUAL_ENV"):
venv_command = ""
elif not kwds.get("no_cache_galaxy", False):
workspace = ctx.workspace
galaxy_branch = kwds.get("galaxy_branch") or "master"
shared_venv_path = os.path.join(workspace, "gx_venv")
Expand Down

0 comments on commit ed7f992

Please sign in to comment.