Skip to content

Commit

Permalink
➕ Add backports for enum and typing modules (#7)
Browse files Browse the repository at this point in the history
* ➕ Add backports for enum and typing modules

* 🐛 Add support for pip~=20
  • Loading branch information
ddelange authored Jan 22, 2020
1 parent 74f5a85 commit 0f85617
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ packaging>=17
pkginfo>=1.4.2
setuptools>=38.3 # for pkg_resources
wheel
enum34; python_version=='2.7'
typing; python_version=='2.7'
2 changes: 1 addition & 1 deletion src/pipgrip/pipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _download_wheel(package, index_url, extra_index_url, pre, cache_dir):
raise
out = out.decode("utf-8").splitlines()[::-1]
for i, line in enumerate(out):
if cache_dir in line or abs_cache_dir in line:
if cache_dir in line or abs_cache_dir in line or "ephem-wheel-cache" in line:
if line.strip().startswith("Stored in directory"):
# wheel was built
fname = [
Expand Down

0 comments on commit 0f85617

Please sign in to comment.