diff options
author | ShubhamRathi <shubhamiiitbackup@gmail.com> | 2017-02-16 01:23:14 +0530 |
---|---|---|
committer | ShubhamRathi <shubhamiiitbackup@gmail.com> | 2017-02-16 01:23:14 +0530 |
commit | aab13ef5293e755ba86aba1d970926e34f942d28 (patch) | |
tree | 8981000fb68db2019327f4d67389ed24d0c9275b /jjb/opnfvdocs/docs-rtd.yaml | |
parent | 9e23b4b70cbfbd945881441f4a14781f370de85e (diff) |
Install virtualenv
Installing virtualenv in doc shell
Change-Id: I3a77f09d7b2921064e1d599cd2e59c0140d71995
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
Diffstat (limited to 'jjb/opnfvdocs/docs-rtd.yaml')
-rw-r--r-- | jjb/opnfvdocs/docs-rtd.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index e0163dc76..9fb45877d 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -76,8 +76,11 @@ git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD fi - shell: | - virtualenv $WORKSPACE/venv - source $WORKSPACE/venv/bin/activate + sudo pip install -u virtualenv virtualenvwrapper + export WORKON_HOME=$HOME/.virtualenvs + source /usr/local/bin/virtualenvwrapper.sh + mkvirtualenv $WORKSPACE/venv + workon $WORKSPACE/venv pip install --upgrade pip pip freeze pip install tox |