python goes superenv
python goes superenv

- Install a sitecustomize.py that is only executed for brewed
  python to
  -  Fix the prefix, python thinks it is installed to.
     (Remember, Python thinks it lives in the Cellar)
  -  Remove "/System/..." stuff from sys.path which caused
     a lot of install trouble because setuptools has the
     habbit to inject itself upfront, overwriting our distribute.
- Allow --with-poll and don't say, we didn't warn you.
- Don't need depends_on :x11 any longer. Yeah, no XQuartz!
- Add --with-brewed-openssl
- pip 1.2.1
- pip, pip-2.7, easy_install and easy_install-2.7 are installed
  to prefix, such that they are directly available, even if
  people have not set their PATH to include
  $(brew --prefix)/share/python
- Caveats shorter and clear.
- For Xcode-only:
  - Patch the distutils buildsystem to use "xcrun cc" etc.
  - Teach distutils the MacOS.sdk_path (for incs and libs)
- superenv.rb add the right python include dir depending on
  whether a brewed python is installed or not.

Closes Homebrew/homebrew#15064.

Signed-off-by: Max Howell <6ab8060e002788ba9309d53dba8df070e650cb04@me.com>
jmsundar/brew,konqui/brew,ilovezfs/brew,aw1621107/brew,bfontaine/brew,vitorgalvao/brew,reelsense/brew,alyssais/brew,hanxue/linuxbrew,Homebrew/brew,konqui/brew,palxex/brew,nandub/brew,sjackman/homebrew,rwhogg/brew,MikeMcQuaid/brew,Homebrew/brew,EricFromCanada/brew,gordonmcshane/homebrew,Linuxbrew/brew,maxim-belkin/brew,Linuxbrew/brew,ilovezfs/brew,claui/brew,pseudocody/brew,tonyg/homebrew,DomT4/brew,toonetown/homebrew,claui/brew,mahori/brew,DomT4/brew,mistydemeo/homebrew,sjackman/homebrew,Homebrew/brew,tonyg/homebrew,mgrimes/brew,reelsense/brew,mgrimes/brew,aw1621107/brew,reitermarkus/brew,JCount/brew,mahori/brew,pseudocody/brew,amar-laksh/brew_sudo,palxex/brew,gordonmcshane/homebrew,mahori/brew,nandub/brew,reitermarkus/brew,staticfloat/brew,MikeMcQuaid/brew,muellermartin/dist,gregory-nisbet/brew,alyssais/brew,staticfloat/brew,rwhogg/brew,JCount/brew,zmwangx/brew,nandub/brew,mistydemeo/homebrew,aw1621107/brew,palxex/brew,amar-laksh/brew_sudo,reitermarkus/brew,muellermartin/dist,zmwangx/brew,mgrimes/brew,jmsundar/brew,mahori/brew,JCount/brew,gregory-nisbet/brew,maxim-belkin/brew,DomT4/brew,reitermarkus/brew,sjackman/homebrew,toonetown/homebrew,AnastasiaSulyagina/brew,EricFromCanada/brew,alyssais/brew,Homebrew/brew,hanxue/linuxbrew,vitorgalvao/brew,bfontaine/brew,MikeMcQuaid/brew,muellermartin/dist,MikeMcQuaid/brew,gregory-nisbet/brew,Linuxbrew/brew,jmsundar/brew,EricFromCanada/brew,rwhogg/brew,zmwangx/brew,ilovezfs/brew,amar-laksh/brew_sudo,vitorgalvao/brew,maxim-belkin/brew,pseudocody/brew,Linuxbrew/brew,vitorgalvao/brew,EricFromCanada/brew,nandub/brew,claui/brew,toonetown/homebrew,JCount/brew,konqui/brew,sjackman/homebrew,hanxue/linuxbrew,staticfloat/brew,tonyg/homebrew,gordonmcshane/homebrew,reelsense/brew,claui/brew,AnastasiaSulyagina/brew,mistydemeo/homebrew,AnastasiaSulyagina/brew,DomT4/brew,bfontaine/brew,konqui/brew