python: remove implicit pip dependency
Rely on the standard libraries instead in order to install dependencies.
Bug: #421
Can you explain more what you are doing here? it looks like you are just running pip in a virtual environment. I don't quite understand how that fixes #421.
Troy Hinckley @.***> writes:
Can you explain more what you are doing here? it looks like you are just running pip in a virtual environment. I don't quite understand how that fixes #421.
Indeed invoking pip inside a virtual environment is not that interesting. However by a mere creation of the latter the bootstraping code of the installer module is activated [0]. Hence it is not necessary to have this module in the search path of Python runtime that executes anaconda-mode.py.
The main beneficiaries of this change are users of Linux distributions, whose maintainers decided not to ship pip as an integral component of a distribution-specific Python package.
[0] https://docs.python.org/3/library/ensurepip.html