Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created March 18, 2014 06:37
Show Gist options
  • Select an option

  • Save dstufft/9614677 to your computer and use it in GitHub Desktop.

Select an option

Save dstufft/9614677 to your computer and use it in GitHub Desktop.
#!/Users/dstufft/.pyenv/versions/3.4.0rc3/bin/python3.4
# -*- coding: utf-8 -*-
import re
import sys
from pip import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment