Skip to content

Instantly share code, notes, and snippets.

@nartes
Created March 13, 2017 12:25
Show Gist options
  • Save nartes/e1d10b1afca8dd3b1722a1505638a000 to your computer and use it in GitHub Desktop.
Save nartes/e1d10b1afca8dd3b1722a1505638a000 to your computer and use it in GitHub Desktop.
git clone https://github.com/MTG/sms-tools
cd sms-tools
...make somechanges
git diff > my_custom_changes.patch
#############################
mkdir tmp
virtualenv2 tmp/ --python=python2.7
echo tmp >> .git/info/exclude
source tmp/env/bin/activate
pip install 'numpy<=1.10'
# if necessary install other dependencies like a cython, numpy and etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment