Skip to content

Instantly share code, notes, and snippets.

@jleeothon
Last active December 30, 2015 20:12
Show Gist options
  • Save jleeothon/46e2af2f1317ba60a77b to your computer and use it in GitHub Desktop.
Save jleeothon/46e2af2f1317ba60a77b to your computer and use it in GitHub Desktop.
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