Skip to content

Instantly share code, notes, and snippets.

View jcrafford's full-sized avatar
🎆

Justin Crafford jcrafford

🎆
  • Wayfair
  • Boston, MA
View GitHub Profile
#!/usr/bin/env python
import codecs
import os
import re
from setuptools import find_packages, setup
########################################
@jcrafford
jcrafford / gist:34ac8df6e33dcdb7d041
Created February 10, 2015 14:00
Fix virtualenv after Python upgrade
# navigate to virtualenv dir containing project
workon <project>
deactivate
cd ..
# delete broken links
find <project>/ -type l -delete
# re-create the virtualenv
virtualenv <project>
# test
workon <project>