Created
May 6, 2014 14:51
-
-
Save evansde77/0a833b79b2cf104b63a0 to your computer and use it in GitHub Desktop.
How to create a wilson virtualenv with Carburetor installed in it
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
# carburetor build from source | |
git clone [email protected]: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 [email protected]: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