Last active
February 8, 2017 17:51
-
-
Save zstumgoren/4e93f4d7342b84f5a208 to your computer and use it in GitHub Desktop.
Setup script for Python Intermediate class at NICAR 2015 conference
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
cd ~/Desktop | |
virtualenv python_intermediate | |
cd python_intermediate | |
source bin/activate | |
mkdir src | |
cd src | |
git clone https://github.com/PythonJournos/refactoring101.git | |
cd refactoring101 | |
# Below flag may be needed depending on the Mac setup (I needed it on mine, due to gcc compilation errors) | |
# If this fails you can try it with the ARCHFLAGS env setting | |
# ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install -r requirements.txt | |
pip install -r requirements.txt | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment