summaryrefslogtreecommitdiff
path: root/command/bdist_dumb.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-07-22 12:50:05 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2010-07-22 12:50:05 +0000
commit07be936471d1459a64a755dc90a53121a8ca41e9 (patch)
treeb0006ca9f93d98c5246224cd42692528e4ee20d4 /command/bdist_dumb.py
parentb97dbcf42d529ab4dfb2896cef8c0d53960595d7 (diff)
downloadpython-setuptools-git-07be936471d1459a64a755dc90a53121a8ca41e9.tar.gz
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
Diffstat (limited to 'command/bdist_dumb.py')
-rw-r--r--command/bdist_dumb.py21
1 files changed, 5 insertions, 16 deletions
diff --git a/command/bdist_dumb.py b/command/bdist_dumb.py
index c2af95f1..2d399226 100644
--- a/command/bdist_dumb.py
+++ b/command/bdist_dumb.py
@@ -7,18 +7,16 @@ $exec_prefix)."""
__revision__ = "$Id$"
import os
-
-from sysconfig import get_python_version
-
-from distutils.util import get_platform
from distutils.core import Command
+from distutils.util import get_platform
from distutils.dir_util import remove_tree, ensure_relative
-from distutils.errors import DistutilsPlatformError
+from distutils.errors import *
+from distutils.sysconfig import get_python_version
from distutils import log
class bdist_dumb(Command):
- description = 'create a "dumb" built distribution'
+ description = "create a \"dumb\" built distribution"
user_options = [('bdist-dir=', 'd',
"temporary directory for creating the distribution"),
@@ -37,12 +35,6 @@ class bdist_dumb(Command):
('relative', None,
"build the archive using relative paths"
"(default: false)"),
- ('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 = ['keep-temp', 'skip-build', 'relative']
@@ -59,8 +51,6 @@ class bdist_dumb(Command):
self.dist_dir = None
self.skip_build = 0
self.relative = 0
- self.owner = None
- self.group = None
def finalize_options(self):
if self.bdist_dir is None:
@@ -118,8 +108,7 @@ class bdist_dumb(Command):
# Make the archive
filename = self.make_archive(pseudoinstall_root,
- self.format, root_dir=archive_root,
- owner=self.owner, group=self.group)
+ self.format, root_dir=archive_root)
if self.distribution.has_ext_modules():
pyversion = get_python_version()
else: