Commit abe7d6ae authored by Georg Brandl's avatar Georg Brandl

Backout 265d369ad3b9.

parent 60e84ced
...@@ -127,8 +127,7 @@ class build_py (Command): ...@@ -127,8 +127,7 @@ class build_py (Command):
# Each pattern has to be converted to a platform-specific path # Each pattern has to be converted to a platform-specific path
filelist = glob(os.path.join(src_dir, convert_path(pattern))) filelist = glob(os.path.join(src_dir, convert_path(pattern)))
# Files that match more than one pattern are only added once # Files that match more than one pattern are only added once
files.extend([fn for fn in filelist if fn not in files files.extend([fn for fn in filelist if fn not in files])
and os.path.isfile(fn)])
return files return files
def build_package_data(self): def build_package_data(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment