diff options
author | Andrew Kuchling <amk@amk.ca> | 2013-11-15 18:01:52 (GMT) |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2013-11-15 18:01:52 (GMT) |
commit | 5e2d45672c8f84f6b1877e68ab92b4b50e2d124d (patch) | |
tree | acccecbfdceb5560510b1b989b44a34c65822f7d /Lib/distutils/cmd.py | |
parent | c31ebb60f975b231e8f2fff7af72204bf3309ed0 (diff) | |
download | cpython-5e2d45672c8f84f6b1877e68ab92b4b50e2d124d.zip cpython-5e2d45672c8f84f6b1877e68ab92b4b50e2d124d.tar.gz cpython-5e2d45672c8f84f6b1877e68ab92b4b50e2d124d.tar.bz2 |
Issue #19544 and Issue #6516: Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516.
Diffstat (limited to 'Lib/distutils/cmd.py')
-rw-r--r-- | Lib/distutils/cmd.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 3ea0810..c89d5ef 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -365,9 +365,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): + 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) + 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): |