We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 971074d commit 91bc99aCopy full SHA for 91bc99a
distutils/command/sdist.py
@@ -391,7 +391,7 @@ def prune_file_list(self):
391
build = self.get_finalized_command('build')
392
base_dir = self.distribution.get_fullname()
393
394
- self.filelist.exclude_pattern(None, prefix=build.build_base)
+ self.filelist.exclude_pattern(None, prefix=os.fspath(build.build_base))
395
self.filelist.exclude_pattern(None, prefix=base_dir)
396
397
if sys.platform == 'win32':
0 commit comments