]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: gen-package-table.py -- Python packages can have . in their name
authorZooko O'Whielacronx <zooko@zooko.com>
Sun, 14 Nov 2010 08:26:43 +0000 (00:26 -0800)
committerZooko O'Whielacronx <zooko@zooko.com>
Sun, 14 Nov 2010 08:26:43 +0000 (00:26 -0800)
misc/build_helpers/gen-package-table.py

index 461696ef367d1b250bf5df1968c8419b4b388994..23b5ee5f91e6bbed22d1f8d3a8b93ac77206c95a 100644 (file)
@@ -7,8 +7,8 @@ import re, os, sys
 extensions = ('.egg', '.tar.bz2', '.tar.gz', '.exe')
 platform_aliases = [('i686','x86'), ('i386','x86'), ('i86pc','x86'), ('win32','windows-x86'),
                     ('win-amd64','windows-x86_64'), ('amd64','x86_64')]
-FILENAME_RE  = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.a-vx-z_]*)(-py[0-9\.]*)?(-.*)?')
-FILENAME_RE2 = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.a-vx-z_]*)(win32|win-amd64)?(-py[0-9\.]*)?')
+FILENAME_RE  = re.compile(r'([a-zA-Z_0-9\.]*)-([0-9\.a-vx-z_]*)(-py[0-9\.]*)?(-.*)?')
+FILENAME_RE2 = re.compile(r'([a-zA-Z_0-9\.]*)-([0-9\.a-vx-z_]*)(win32|win-amd64)?(-py[0-9\.]*)?')
 
 matrix = {}
 platforms = set()