mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #45824 from gtmanfred/setup
decode file list for setup.py on python2
This commit is contained in:
commit
550a6138c9
3
setup.py
3
setup.py
@ -522,7 +522,8 @@ class Sdist(sdist):
|
||||
self.run_command('write_salt_ssh_packaging_file')
|
||||
self.filelist.files.append(os.path.basename(PACKAGED_FOR_SALT_SSH_FILE))
|
||||
|
||||
sdist.make_release_tree(self, base_dir, files)
|
||||
pkgfiles = [pkgfile if IS_PY3 else pkgfile.decode(__salt_system_encoding__) for pkgfile in files]
|
||||
sdist.make_release_tree(self, base_dir, pkgfiles)
|
||||
|
||||
# Let's generate salt/_version.py to include in the sdist tarball
|
||||
self.distribution.running_salt_sdist = True
|
||||
|
Loading…
Reference in New Issue
Block a user