sourcegraph / python-langserver

Language server which talks LSP via JSONRPC for Python.
MIT License
102 stars 12 forks source link

use pip via subprocess, not pip.main #57

Closed ggilmore closed 6 years ago

ggilmore commented 6 years ago

pip doesn't have a public api for a good reason. It has broken at least three times over the past few months, and we gain nothing by using pip as a module versus just using it as a sub-process.

ggilmore commented 6 years ago

The most recent breakage was due to pip moving the location of the main() function that we were using.