From 49fde0cbf7b7feb58e589007db763d6ba6ba6692 Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Fri, 22 Apr 2016 23:00:57 +0200 Subject: Fix `bw.root_is_purelib = ...` -> `bw.root_is_pure = ...` bw.root_is_pure is the correct attribute used by bdist_wheel command --- wheel/egg2wheel.py | 2 +- wheel/wininst2wheel.py | 2 +- 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' -- cgit v1.2.1