www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Installing virtualenv to build slaves
Date Tue, 27 Jan 2015 00:03:04 GMT
Hi Dave,

On Mon, Jan 26, 2015 at 3:27 PM, <builds-digest-help@apache.org> wrote:

>
> Apache Allura is written in python, and our virtualenv setup for Jenkins
> is like
> this:
>
> rm -rf ".allura-venv"
> if [ ! -f virtualenv-*/virtualenv.py ]; then
>     wget --no-check-certificate
>
> https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz
> || exit
>     tar xvfz virtualenv-*.tar.gz
> fi
> python virtualenv-*/virtualenv.py .allura-venv
> . .allura-venv/bin/activate
>
>
>
>
> And after that, the `pip` inside of the virtualenv is available to install
> further packages as needed.
>
>
Fantastic Dave. This is grand. Thank you.
Lewis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message