Skip to content

Instantly share code, notes, and snippets.

@zstumgoren
Last active February 8, 2017 17:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zstumgoren/4e93f4d7342b84f5a208 to your computer and use it in GitHub Desktop.
Save zstumgoren/4e93f4d7342b84f5a208 to your computer and use it in GitHub Desktop.
Setup script for Python Intermediate class at NICAR 2015 conference
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