mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#6516 added owner/group support for tarfiles in Distutils
This commit is contained in:
parent
12fafe6936
commit
1b48671ef1
9 changed files with 234 additions and 20 deletions
|
@ -385,10 +385,11 @@ class Command:
|
|||
from distutils.spawn import spawn
|
||||
spawn(cmd, search_path, dry_run= self.dry_run)
|
||||
|
||||
def make_archive (self, base_name, format,
|
||||
root_dir=None, base_dir=None):
|
||||
return archive_util.make_archive(
|
||||
base_name, format, root_dir, base_dir, dry_run=self.dry_run)
|
||||
def make_archive(self, base_name, format, root_dir=None, base_dir=None,
|
||||
owner=None, group=None):
|
||||
return archive_util.make_archive(base_name, format, root_dir,
|
||||
base_dir, dry_run=self.dry_run,
|
||||
owner=owner, group=group)
|
||||
|
||||
def make_file(self, infiles, outfile, func, args,
|
||||
exec_msg=None, skip_msg=None, level=1):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue