Skip to content

Instantly share code, notes, and snippets.

@evansde77
Created May 6, 2014 14:51
Show Gist options
  • Save evansde77/0a833b79b2cf104b63a0 to your computer and use it in GitHub Desktop.
Save evansde77/0a833b79b2cf104b63a0 to your computer and use it in GitHub Desktop.
How to create a wilson virtualenv with Carburetor installed in it
# carburetor build from source
git clone git@github.com:cloudant/carburetor.git
cd carburetor/
#### Check out a specific tag here if you dont want HEAD
virtualenv --distribute venv
. venv/bin/activate
pip install -r requirements.txt
# -OR- since Macs are being difficult with XCode lately...
# ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install -r requirements.txt
python setup.py build
python setup.py sdist
ls dist/carburetor-0.0.local.tar.gz
deactivate
# now wilson
cd ..
git clone git@github.com:cloudant/wilson.git
cd wilson/
virtualenv --distribute venv
. venv/bin/activate
emacs -nw requirements.txt # <<< REMOVE Carb Dependency
# install requirements and carburetor
# sane world
pip install -r requirements.txt
pip install ../carburetor/dist/carburetor-0.0.local.tar.gz
# mac world
#ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install -r requirements.txt
#ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install ../carburetor/dist/carburetor-0.0.local.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment