mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11:26 +00:00
Merge with 3.3 for Issue #19286.
This commit is contained in:
commit
e71fb28519
3 changed files with 36 additions and 1 deletions
|
@ -127,7 +127,8 @@ class build_py (Command):
|
|||
# Each pattern has to be converted to a platform-specific path
|
||||
filelist = glob(os.path.join(src_dir, convert_path(pattern)))
|
||||
# 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
|
||||
|
||||
def build_package_data(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue