Skip to content

Instantly share code, notes, and snippets.

View jaberg's full-sized avatar

James Bergstra jaberg

  • kindred.ai
  • Toronto ON
View GitHub Profile
@jaberg
jaberg / ipython-virtualenv.py
Created November 1, 2012 15:49 — forked from bsweger/ipython-virtualenv.py
(Linux) make iPython virtual env aware
#------------------------------------------------------------------------------
# Make things VirtualEnv aware (Linux version).
# More info: http://www.swegler.com/becky/blog/2011/08/28/python-django-mysql-on-windows-7-part-3-ipython-virtual-environments/
# add this to the end of ipython_config
# (or course, for virtualenvs created via --no-site-packages, it would
# be much easier just to install iPython)
#
# Also consider sourcing this file from ipython_config with execfile().
#
#------------------------------------------------------------------------------