summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAles Erjavec <ales.erjavec@fri.uni-lj.si>2016-04-22 23:00:57 +0200
committerAles Erjavec <ales.erjavec@fri.uni-lj.si>2016-04-22 23:00:57 +0200
commit49fde0cbf7b7feb58e589007db763d6ba6ba6692 (patch)
tree2b7eb0a44186ebc4e5c557e3eaf77c084e108e70
parent3d357c49cb25400711bf95e075f062ba07f22e72 (diff)
downloadwheel-49fde0cbf7b7feb58e589007db763d6ba6ba6692.tar.gz
Fix `bw.root_is_purelib = ...` -> `bw.root_is_pure = ...`
bw.root_is_pure is the correct attribute used by bdist_wheel command
-rwxr-xr-xwheel/egg2wheel.py2
-rwxr-xr-xwheel/wininst2wheel.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wheel/egg2wheel.py b/wheel/egg2wheel.py
index e819824..94d727c 100755
--- a/wheel/egg2wheel.py
+++ b/wheel/egg2wheel.py
@@ -50,7 +50,7 @@ def egg2wheel(egg_path, dest_dir):
else:
bw = _bdist_wheel_tag(distutils.dist.Distribution())
- bw.root_is_purelib = root_is_purelib
+ bw.root_is_pure = root_is_purelib
bw.plat_name_supplied = True
bw.plat_name = egg_info['arch'] or 'any'
if not root_is_purelib:
diff --git a/wheel/wininst2wheel.py b/wheel/wininst2wheel.py
index f208959..8ec5230 100755
--- a/wheel/wininst2wheel.py
+++ b/wheel/wininst2wheel.py
@@ -163,7 +163,7 @@ def bdist_wininst2wheel(path, dest_dir=os.path.curdir):
else:
bw = _bdist_wheel_tag(distutils.dist.Distribution())
- bw.root_is_purelib = root_is_purelib
+ bw.root_is_pure = root_is_purelib
bw.plat_name_supplied = True
bw.plat_name = info['arch'] or 'any'