Skip to content
  • Matt Harbison's avatar
    packaging: extend `sys.path` with py2exe to the user level package directory · 7c2893358308
    Matt Harbison authored
    On macOS, a `sitecustomize.py` module makes visible the packages that are
    installed with `pip` in the user directory, so that they don't have to be
    bundled with the embedded python.  AFAICT, py2exe doesn't process this module,
    so this does the same thing a little more directly.  This will let us stop
    trying to bundle hg-git and its dependencies.  Certifi specifically seems to be
    incompatible with py2exe, at least in recent versions.
    
    --HG--
    branch : stable
    7c2893358308