diff options
| author | Arc Riley <arcriley@gmail.com> | 2011-03-13 00:12:23 -0500 |
|---|---|---|
| committer | Arc Riley <arcriley@gmail.com> | 2011-03-13 00:12:23 -0500 |
| commit | efa667603bc41168dc547563fffef464b728adfa (patch) | |
| tree | 6b3f76ba3d107c984335253b3d42d9ab65cb7748 /distutils2/command/install_dist.py | |
| parent | f3f78c2aca495aed87bc416e5f20134b9d0fc351 (diff) | |
| parent | e2d2d3d18380338920819d2bd0524f6629b1874b (diff) | |
| download | disutils2-efa667603bc41168dc547563fffef464b728adfa.tar.gz | |
Branch merge to trunk
Diffstat (limited to 'distutils2/command/install_dist.py')
| -rw-r--r-- | distutils2/command/install_dist.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/distutils2/command/install_dist.py b/distutils2/command/install_dist.py index f0233d1..baa5991 100644 --- a/distutils2/command/install_dist.py +++ b/distutils2/command/install_dist.py @@ -87,6 +87,8 @@ class install_dist(Command): ('record=', None, "filename in which to record a list of installed files " "(not PEP 376-compliant)"), + ('resources=', None, + "data files mapping"), # .dist-info related arguments, read by install_dist_info ('no-distinfo', None, @@ -184,12 +186,14 @@ class install_dist(Command): #self.install_info = None self.record = None + self.resources = None # .dist-info related options self.no_distinfo = None self.installer = None self.requested = None self.no_record = None + self.no_resources = None # -- Option finalizing methods ------------------------------------- # (This is rather more involved than for most commands, @@ -418,13 +422,13 @@ class install_dist(Command): else: opt_name = opt_name.replace('-', '_') val = getattr(self, opt_name) - logger.debug(" %s: %s" % (opt_name, val)) + logger.debug(" %s: %s", opt_name, val) def select_scheme(self, name): """Set the install directories by applying the install schemes.""" # it's the caller's problem if they supply a bad name! scheme = get_paths(name, expand=False) - for key, value in scheme.items(): + for key, value in scheme.iteritems(): if key == 'platinclude': key = 'headers' value = os.path.join(value, self.distribution.metadata['Name']) |
