Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tolerate pip 19.3 for --pyprof builds
The 'main' function was moved between pip 19.2.3 and 19.3, which causes '--pyprof' build to fail with (at least) pip 19.3 and 19.3.1: Traceback (most recent call last): File "setup.py", line 37, in <module> pipmain(["install"] + required_packages) TypeError: 'module' object is not callable A permanent solution for this might require rewriting the '--pyprof' install section to use 'python -m pip', but this change just adjusts the import to tolerate the 19.3 change. See: - pypa/pip@09fd200 - pypa/pip#7498 - pypa/pip#7499
- Loading branch information