diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-10 10:03:20 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-07-10 10:03:20 (GMT) |
commit | 15ccb3d3f741ceffd7b2dca67870bbee5cfe3a49 (patch) | |
tree | af59b3686592479654e4fadf424e103fb7fe9936 /Lib/distutils/command | |
parent | b7815e31102456b23de404378be80e5abebad705 (diff) | |
download | cpython-15ccb3d3f741ceffd7b2dca67870bbee5cfe3a49.zip cpython-15ccb3d3f741ceffd7b2dca67870bbee5cfe3a49.tar.gz cpython-15ccb3d3f741ceffd7b2dca67870bbee5cfe3a49.tar.bz2 |
Merged revisions 73925-73926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73925 | tarek.ziade | 2009-07-10 11:57:15 +0200 (Fri, 10 Jul 2009) | 1 line
Added test coverage for distutils.command.build
........
r73926 | tarek.ziade | 2009-07-10 12:00:21 +0200 (Fri, 10 Jul 2009) | 1 line
cleaned up distutils.command.build
........
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/build.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 9c2667c..715621e 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -9,12 +9,10 @@ from distutils.core import Command from distutils.errors import DistutilsOptionError from distutils.util import get_platform - def show_compilers(): from distutils.ccompiler import show_compilers show_compilers() - class build(Command): description = "build everything needed to install" @@ -127,7 +125,6 @@ class build(Command): for cmd_name in self.get_sub_commands(): self.run_command(cmd_name) - # -- Predicates for the sub-command list --------------------------- def has_pure_modules(self): @@ -142,7 +139,6 @@ class build(Command): def has_scripts(self): return self.distribution.has_scripts() - sub_commands = [('build_py', has_pure_modules), ('build_clib', has_c_libraries), ('build_ext', has_ext_modules), |