[Python-checkins] r73928 - in python/branches/py3k: Lib/distutils/command/build.py Lib/distutils/tests/test_build.py
tarek.ziade
python-checkins at python.org
Fri Jul 10 12:03:20 CEST 2009
Author: tarek.ziade
Date: Fri Jul 10 12:03:20 2009
New Revision: 73928
Log:
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
........
Added:
python/branches/py3k/Lib/distutils/tests/test_build.py
- copied unchanged from r73926, /python/trunk/Lib/distutils/tests/test_build.py
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/distutils/command/build.py
Modified: python/branches/py3k/Lib/distutils/command/build.py
==============================================================================
--- python/branches/py3k/Lib/distutils/command/build.py (original)
+++ python/branches/py3k/Lib/distutils/command/build.py Fri Jul 10 12:03:20 2009
@@ -9,12 +9,10 @@
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 @@
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 @@
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),
More information about the Python-checkins
mailing list