Update of /cvsroot/python/python/dist/src/Lib/distutils/command In directory usw-pr-cvs1:/tmp/cvs-serv11423/Lib/distutils/command Modified Files: bdist.py bdist_dumb.py bdist_wininst.py Log Message: Patch #414775: Add --skip-build option to bdist command. Index: bdist.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** bdist.py 2001/12/06 20:57:12 1.21 --- bdist.py 2002/01/12 11:27:42 1.22 *************** *** 41,46 **** --- 41,50 ---- "directory to put final built distributions in " "[default: dist]"), + ('skip-build', None, + "skip rebuilding everything (for testing/debugging)"), ] + boolean_options = ['skip-build'] + help_options = [ ('help-formats', None, *************** *** 77,80 **** --- 81,85 ---- self.formats = None self.dist_dir = None + self.skip_build = 0 # initialize_options() Index: bdist_dumb.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_dumb.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** bdist_dumb.py 2000/09/30 18:27:54 1.16 --- bdist_dumb.py 2002/01/12 11:27:42 1.17 *************** *** 31,37 **** ('dist-dir=', 'd', "directory to put final built distributions in"), ] ! boolean_options = ['keep-temp'] default_format = { 'posix': 'gztar', --- 31,39 ---- ('dist-dir=', 'd', "directory to put final built distributions in"), + ('skip-build', None, + "skip rebuilding everything (for testing/debugging)"), ] ! boolean_options = ['keep-temp', 'skip-build'] default_format = { 'posix': 'gztar', *************** *** 45,48 **** --- 47,51 ---- self.keep_temp = 0 self.dist_dir = None + self.skip_build = 0 # initialize_options() *************** *** 72,79 **** def run (self): ! self.run_command('build') install = self.reinitialize_command('install', reinit_subcommands=1) install.root = self.bdist_dir self.announce("installing to %s" % self.bdist_dir) --- 75,84 ---- def run (self): ! if not self.skip_build: ! self.run_command('build') install = self.reinitialize_command('install', reinit_subcommands=1) install.root = self.bdist_dir + install.skip_build = self.skip_build self.announce("installing to %s" % self.bdist_dir) Index: bdist_wininst.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_wininst.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** bdist_wininst.py 2001/12/18 21:08:15 1.27 --- bdist_wininst.py 2002/01/12 11:27:42 1.28 *************** *** 37,40 **** --- 37,42 ---- ('title=', 't', "title to display on the installer background instead of default"), + ('skip-build', None, + "skip rebuilding everything (for testing/debugging)"), ] *************** *** 50,53 **** --- 52,56 ---- self.bitmap = None self.title = None + self.skip_build = 0 # initialize_options() *************** *** 80,87 **** "must be compiled on a Windows 32 platform") ! self.run_command('build') install = self.reinitialize_command('install') install.root = self.bdist_dir install_lib = self.reinitialize_command('install_lib') --- 83,92 ---- "must be compiled on a Windows 32 platform") ! if not self.skip_build: ! self.run_command('build') install = self.reinitialize_command('install') install.root = self.bdist_dir + install.skip_build = self.skip_build install_lib = self.reinitialize_command('install_lib')
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4