1. PyPA
  2. Python Packaging Authority Projects
  3. pypi

Commits

Donald Stufft  committed dffe9d9

support _ and - in platform tags

  • Participants
  • Parent commits 13147de
  • Branches default

Comments (0)

Files changed (1)

File webui.py

View file
         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