summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAles Erjavec <ales.erjavec@fri.uni-lj.si>2016-04-22 23:19:17 +0200
committerAles Erjavec <ales.erjavec@fri.uni-lj.si>2016-04-22 23:19:17 +0200
commit91d05fea74b731408fe453ab006595b8c23021d9 (patch)
tree4688d4d4432e0b2260d72b67e7e05460a48995d3
parent49fde0cbf7b7feb58e589007db763d6ba6ba6692 (diff)
downloadwheel-91d05fea74b731408fe453ab006595b8c23021d9.tar.gz
Set correct python_tag
-rwxr-xr-xwheel/egg2wheel.py1
-rwxr-xr-xwheel/wininst2wheel.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/wheel/egg2wheel.py b/wheel/egg2wheel.py
index 94d727c..e8d3153 100755
--- a/wheel/egg2wheel.py
+++ b/wheel/egg2wheel.py
@@ -51,6 +51,7 @@ def egg2wheel(egg_path, dest_dir):
bw = _bdist_wheel_tag(distutils.dist.Distribution())
bw.root_is_pure = root_is_purelib
+ bw.python_tag = pyver
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 8ec5230..15f0cdf 100755
--- a/wheel/wininst2wheel.py
+++ b/wheel/wininst2wheel.py
@@ -164,6 +164,7 @@ def bdist_wininst2wheel(path, dest_dir=os.path.curdir):
bw = _bdist_wheel_tag(distutils.dist.Distribution())
bw.root_is_pure = root_is_purelib
+ bw.python_tag = pyver
bw.plat_name_supplied = True
bw.plat_name = info['arch'] or 'any'