From 28f1006d60c998b686537efaf704fb71b7bee982 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sat, 6 Jul 2013 12:44:07 -0400 Subject: support _ and - in platform tags --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 5374663..45fd532 100644 --- a/webui.py +++ b/webui.py @@ -2579,7 +2579,7 @@ class WebUI: if filename.endswith(".whl"): wheel_info = wheel_file_re.match(filename) plats = wheel_info.group('plat').split('.') - if set(plats) - set(["any", "win32", "win-amd64", "win-ia64"]): + if set(plats) - set(["any", "win32", "win-amd64", "win_amd64", "win-ia64", "win_ia64"]): raise FormError, "Binary wheel for an unsupported platform" # Check whether signature is ASCII-armored -- cgit v1.2.1