Mercurial > cpython-lru_cache-weakref
diff Lib/distutils/command/bdist.py @ 63136:29a3eda89995
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
| author | Tarek Ziadé <ziade.tarek@gmail.com> |
|---|---|
| date | Thu, 22 Jul 2010 12:50:05 +0000 |
| parents | 38b90fe34623 |
| children | 3e26c9033306 |
line wrap: on
line diff
--- a/Lib/distutils/command/bdist.py Thu Jul 22 07:40:56 2010 +0000 +++ b/Lib/distutils/command/bdist.py Thu Jul 22 12:50:05 2010 +0000 @@ -6,10 +6,9 @@ __revision__ = "$Id$" import os - +from distutils.core import Command +from distutils.errors import * from distutils.util import get_platform -from distutils.core import Command -from distutils.errors import DistutilsPlatformError, DistutilsOptionError def show_formats(): @@ -40,12 +39,6 @@ "[default: dist]"), ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), - ('owner=', 'u', - "Owner name used when creating a tar file" - " [default: current user]"), - ('group=', 'g', - "Group name used when creating a tar file" - " [default: current group]"), ] boolean_options = ['skip-build'] @@ -87,8 +80,6 @@ self.formats = None self.dist_dir = None self.skip_build = 0 - self.group = None - self.owner = None def finalize_options(self): # have to finalize 'plat_name' before 'bdist_base' @@ -134,11 +125,6 @@ if cmd_name not in self.no_format_option: sub_cmd.format = self.formats[i] - # passing the owner and group names for tar archiving - if cmd_name == 'bdist_dumb': - sub_cmd.owner = self.owner - sub_cmd.group = self.group - # If we're going to need to run this command again, tell it to # keep its temporary files around so subsequent runs go faster. if cmd_name in commands[i+1:]:
