Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Fix website generation bug when creating virtual environment #150

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ trigger:
- master

# If there is a push on a PR, it wont do run
# Temporarily to debug in PR
pr: none

# use the self-hosted runner at tristano.neuro.polymtl.ca
Expand Down
8 changes: 7 additions & 1 deletion generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ cd s

# we need to do this in an explicit venv since our build agent
# isn't fancy enough to spawn fresh containers/VMs for us
pip install --user virtualenv

# Ran once from this script to upgrade to 20.1.1
# pip install pip --upgrade

# Ran once on tristano directly
# pip3 install --user virtualenv

VENV=$(mktemp -d)
trap 'rm -rf $VENV' EXIT # cleanup after ourselves
python -m virtualenv "$VENV"
Expand Down