[Python-checkins] distutils2: Add a comment about one ambiguity in PEP 376, remove obsolete comment

tarek.ziade python-checkins at python.org
Sun Aug 8 11:50:48 CEST 2010


tarek.ziade pushed fa01e4f9584e to distutils2:

http://hg.python.org/distutils2/rev/fa01e4f9584e
changeset:   511:fa01e4f9584e
user:        ?ric Araujo <merwok at netwok.org>
date:        Sat Aug 07 18:01:14 2010 +0200
summary:     Add a comment about one ambiguity in PEP 376, remove obsolete comment
files:       src/distutils2/command/install_distinfo.py

diff --git a/src/distutils2/command/install_distinfo.py b/src/distutils2/command/install_distinfo.py
--- a/src/distutils2/command/install_distinfo.py
+++ b/src/distutils2/command/install_distinfo.py
@@ -62,6 +62,8 @@
                                    ('install_dir', 'distinfo_dir'))
 
         if self.installer is None:
+            # FIXME distutils or distutils2?
+            # + document default in the option help text above and in install
             self.installer = 'distutils'
         if self.requested is None:
             self.requested = True
@@ -144,10 +146,7 @@
         return self.outputs
 
 
-# The following routines are taken from setuptools' pkg_resources module and
-# can be replaced by importing them from pkg_resources once it is included
-# in the stdlib.
-
+# The following functions are taken from setuptools' pkg_resources module.
 
 def safe_name(name):
     """Convert an arbitrary string to a standard distribution name

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list