So create you new virtualenv . (use the virtualenv <env name> command)In case you jouned the ovirt project and decided to run ovirt testenv to check your patch.
I assume you know how virtual env works.
- Well done . you are on the bleeding edge now.
- You want to use virtual env and feel free to play without breaking your python.
I assume you know how virtual env works.
- install the testenv from the ovirt repo .
You know the yum-config-manager and yum install commands
You need this since some of the rpm scripts needs to run and doing it manually just hurts. - Clone your version of testenv
- Create your virtualenv with host site packages
- Go to you $virtualenv/bin/activate and add
TESTENV_VERSION="0.2-62"
export TESTENV_VERSION - The version comes from the git tag inside the testenv repo.
- go to su and activate your virtualenv
source $virtualenvdir/bin/activate - run python setup.sh install in the testenv directory
- exit su
- activate your virtualenv again
- You all set