Skip to content

Instantly share code, notes, and snippets.

@jrasanen
Created January 18, 2013 08:59
Show Gist options
  • Save jrasanen/4563291 to your computer and use it in GitHub Desktop.
Save jrasanen/4563291 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -f /usr/local/bin/virtualenv ];
then
virtualenv --no-site-packages --distribute -- $1
elif [ -f /usr/bin/virtualenv ];
then
virtualenv --no-site-packages --distribute -- $1
else
echo "No virtualenv found. Please install setuptools & virtualenv. :("
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment