abantos / bolt

A task automation tool (similart to grunt) for Python
MIT License
15 stars 8 forks source link

Fixes resolution of PIP entry point for PIP 10.x or higher #97

Closed CurroRodriguez closed 6 years ago

CurroRodriguez commented 6 years ago

Fixes #96 caused by new index implementation of pip and its client. The issue happened because the main entry point to pip was moved from the root of the package to an _internal sub-package, so environments with pip 10.x or higher the entry point was not found.

I added a check for the pip version, and load the entry point from the correct location depending on that version.