Last active
December 30, 2015 20:12
-
-
Save jleeothon/46e2af2f1317ba60a77b to your computer and use it in GitHub Desktop.
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
workspaceparent="$HOME" | |
# needs to be run after cortobootstrap.sh | |
cd "$workspaceparent/cortoproject" | |
git clone https://github.com/cortoproject/python-binding | |
cd python-binding | |
# virtual environment | |
python3 -m venv --without-pip env | |
source env/bin/activate | |
curl https://bootstrap.pypa.io/get-pip.py | python | |
deactivate | |
source env/bin/activate | |
pip install nose | |
# configure script for building faster | |
echo 'alias cortopybuild="python setup.py build && python setup.py sdist && ( pip uninstall --yes cortopy || true ) && pip install dist/cortopy-0.1.tar.gz > /dev/null && nosetests -v"' > configure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment