mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
fixed the data_files inclusion behavior
This commit is contained in:
parent
17a837e4db
commit
0e5001eff9
3 changed files with 8 additions and 3 deletions
|
@ -319,7 +319,7 @@ class sdist (Command):
|
|||
else: # a (dirname, filenames) tuple
|
||||
dirname, filenames = item
|
||||
for f in filenames:
|
||||
f = convert_path(os.path.join(dirname, f))
|
||||
f = convert_path(f)
|
||||
if os.path.isfile(f):
|
||||
self.filelist.append(f)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue