lol copied from virtualenv