Skip to content

Commit

Permalink
copy dist-info to python subdur in rez-pip
Browse files Browse the repository at this point in the history
fixes #892
  • Loading branch information
nerdvegas committed Sep 21, 2021
1 parent 4a723fb commit 2665f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/rez/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,11 @@ def get_mapping(rel_src):
topdir = rel_src.split(os.sep)[0]

# Special case - dist-info files. These are all in a '<pkgname>-<version>.dist-info'
# dir. We keep this dir and place it in the root dir of the rez package.
# dir. We keep this dir and place it in the root 'python' dir of the rez package.
#
if topdir.endswith(".dist-info"):
return (rel_src, rel_src)
rel_dest = os.path.join("python", rel_src)
return (rel_src, rel_dest)

# Remapping of other installed files according to manifest
if topdir == os.pardir:
Expand Down
2 changes: 1 addition & 1 deletion src/rez/utils/_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


# Update this value to version up Rez. Do not place anything else in this file.
_rez_version = "2.94.0"
_rez_version = "2.95.0"


# Copyright 2013-2016 Allan Johns.
Expand Down

0 comments on commit 2665f96

Please sign in to comment.