diff options
| author | Greg Ward <gward@python.net> | 2000-06-01 01:08:52 +0000 |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 2000-06-01 01:08:52 +0000 |
| commit | 71848a5af214fca715bf55b482e778cb4763c81b (patch) | |
| tree | 4094b1de30e9e9ac9d81b3e0b9ebd72b3c4a308d /cmd.py | |
| parent | 7b2992eb1483e6c551d33f6e896569a420b1c88b (diff) | |
| download | external_python_setuptools-71848a5af214fca715bf55b482e778cb4763c81b.tar.gz external_python_setuptools-71848a5af214fca715bf55b482e778cb4763c81b.tar.bz2 external_python_setuptools-71848a5af214fca715bf55b482e778cb4763c81b.zip | |
Added 'reinitialize_command()' method -- delegated to Distribution instance.
Ensure 'make_archive()' method returns archive filename.
Diffstat (limited to 'cmd.py')
| -rw-r--r-- | cmd.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -215,6 +215,10 @@ class Command: cmd_obj.ensure_finalized () return cmd_obj + # XXX rename to 'get_reinitialized_command()'? (should do the + # same in dist.py, if so) + def reinitialize_command (self, command): + return self.distribution.reinitialize_command(command) def run_command (self, command): """Run some other command: uses the 'run_command()' method of @@ -306,8 +310,8 @@ class Command: def make_archive (self, base_name, format, root_dir=None, base_dir=None): - util.make_archive (base_name, format, root_dir, base_dir, - self.verbose, self.dry_run) + return util.make_archive (base_name, format, root_dir, base_dir, + self.verbose, self.dry_run) def make_file (self, infiles, outfile, func, args, |
