Created
August 30, 2013 22:17
-
-
Save omaciel/6394845 to your computer and use it in GitHub Desktop.
Run mangonel using a virtual environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y git python-pip | |
pip-python install virtualenvwrapper | |
export WORKON_HOME=~/. | |
source /usr/bin/virtualenvwrapper.sh | |
rm -rf /root/mangonel/ && git clone https://github.com/omaciel/mangonel.git /root/mangonel | |
rm -rf /root/katello-cli && git clone https://github.com/Katello/katello-cli.git /root/katello-cli | |
mkvirtualenv mangonel | |
cd /root/katello-cli | |
env SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" pip install -r requirements.pip | |
pip install coverage nose-cov | |
cd /root/mangonel | |
export PYTHONPATH=$HOME:$HOME/katello-cli/src | |
chmod a+x run-tests.py | |
deactivate | |
rmvirtualenv mangonel | |
pip-python uninstall -y virtualenvwrapper virtualenv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment