From gward@cnri.reston.va.us Fri Dec 3 16:19:00 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Fri, 3 Dec 1999 11:19:00 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command build_py.py Message-ID: <199912031619.LAA17328@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: build_py.py Log Message: [from 1999-11-04] Bunch of little bug fixes that appeared in building non-packagized distributions. Mainly: - brain-slip typo in 'get_package_dir()' - don't try to os.path.join() an empty path tuple -- it doesn't like it - more type-safety in 'build_module()' From gward@cnri.reston.va.us Sun Dec 12 16:51:48 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 11:51:48 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils core.py Message-ID: <199912121651.LAA00464@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils In directory thrak:/home/gward/python/distutils/distutils Modified Files: core.py Log Message: Made "verbose" mode the default; now you have to supply --quiet if you want no output. Still no option for a happy medium though. Added "--help" global option. Changed 'parse_command_line()' to recognize help options (both for the whole distribution and per-command), and to distinguish "regular run" and "user asked for help" by returning false in the latter case. Also in 'parse_command_line()', detect invalid command name on command line by catching DistutilsModuleError. a 'negative_opt' class attribute right after 'global_options'; changed how we call 'fancy_getopt()' accordingly. Initialize 'maintainer' and 'maintainer_email' attributes to Distribution to avoid AttributeError when 'author' and 'author_email' not defined. Initialize 'help' attribute in Command constructor (to avoid AttributeError when user *doesn't* ask for help). In 'setup()': * show usage message before dying when we catch DistutilsArgError * only run commands if 'parse_command_line()' returned true (that way, we exit immediately when a help option is found) * catch KeyboardInterrupt and IOError from running commands Bulked up usage message to show --help options. Comment, docstring, and error message tweaks. From gward@cnri.reston.va.us Sun Dec 12 16:54:58 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 11:54:58 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils fancy_getopt.py Message-ID: <199912121654.LAA00489@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils In directory thrak:/home/gward/python/distutils/distutils Modified Files: fancy_getopt.py Log Message: Added support for printing out help text from option table: 'print_help()', 'generate_help()', 'wrap_text()' functions, and a little tiny test of 'wrap_text()'. Changed how caller states that one option is the boolean opposite of another: added 'negative_opt' parameter to 'fancy_getopt()', and changed to use it instead of parsing long option name. From gward@cnri.reston.va.us Sun Dec 12 16:57:50 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 11:57:50 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils unixccompiler.py Message-ID: <199912121657.LAA00514@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils In directory thrak:/home/gward/python/distutils/distutils Modified Files: unixccompiler.py Log Message: In 'compile()' method, renamed 'includes' parameter to 'include_dirs' for consistency with 'build_ext' command option. Changed 'compile()' and 'link_shared_object()' so 'include_dirs', 'libraries', and 'library_dirs' can be lists or tuples. From gward@cnri.reston.va.us Sun Dec 12 17:01:05 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 12:01:05 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command build_ext.py Message-ID: <199912121701.MAA00540@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: build_ext.py Log Message: Changed 'build_extensions()' so 'sources' can be a list or tuple; and call CCompiler method 'compile()' with 'include_dirs' not 'includes'. Fixed stupid typo in 'get_source_files()'. From gward@cnri.reston.va.us Sun Dec 12 17:04:03 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 12:04:03 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command build_py.py Message-ID: <199912121704.MAA00567@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: build_py.py Log Message: Fixed 'find_package_modules()' to ensure that we never build (and thus install) the setup script itself. Fixed 'build_module()' so we do *not* preserve file mode (which means we can install read-only files, which makes the next installation of this distribution fail -- at least under Unix); added a comment explaining this. From gward@cnri.reston.va.us Sun Dec 12 17:07:26 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 12:07:26 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command dist.py Message-ID: <199912121707.MAA00587@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: dist.py Log Message: Catch missing MANIFEST file and warn rather than blowing up. Added 'nuke_release_tree()' method to blow away the directory from which the archive file(s) are created, and call it (conditionally) from 'make_distribution()'. Added 'keep_tree' option (false by default) to disable the call to 'nuke_release_tree()'. From gward@cnri.reston.va.us Sun Dec 12 17:20:01 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 12:20:01 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils ccompiler.py msvccompiler.py Message-ID: <199912121720.MAA00650@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils In directory thrak:/home/gward/python/distutils/distutils Modified Files: ccompiler.py msvccompiler.py Log Message: Catch up with terminology change in UnixCCompiler: 'includes' -> 'include_dirs'. From gward@cnri.reston.va.us Sun Dec 12 23:16:43 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 18:16:43 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/test getopt_fun Message-ID: <199912122316.SAA00928@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/test In directory thrak:/home/gward/python/distutils/test Removed Files: getopt_fun Log Message: Removed -- no longer needed. From gward@cnri.reston.va.us Sun Dec 12 23:17:45 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Sun, 12 Dec 1999 18:17:45 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/test test_fgo.py Message-ID: <199912122317.SAA00946@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/test In directory thrak:/home/gward/python/distutils/test Added Files: test_fgo.py Log Message: [from 1999/03/03] Test script for fancy_getopt -- somehow this never got checked in. From gward@cnri.reston.va.us Mon Dec 13 21:39:01 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Mon, 13 Dec 1999 16:39:01 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command dist.py Message-ID: <199912132139.QAA01276@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: dist.py Log Message: Use 'search', not 'match', on filename pattern regexes. From gward@cnri.reston.va.us Mon Dec 13 21:39:28 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Mon, 13 Dec 1999 16:39:28 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils setup.py Message-ID: <199912132139.QAA01296@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils In directory thrak:/home/gward/python/distutils Modified Files: setup.py Log Message: Bumped version number to 0.1.2pre. From gward@cnri.reston.va.us Thu Dec 16 00:41:11 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:41:11 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils CHANGES Message-ID: <199912160041.TAA03559@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils In directory thrak:/home/gward/python/distutils Modified Files: CHANGES Log Message: Reformatted. Added entry for release 0.1.2. From gward@cnri.reston.va.us Thu Dec 16 00:50:10 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:50:10 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils README Message-ID: <199912160050.TAA03585@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils In directory thrak:/home/gward/python/distutils Modified Files: README Log Message: Updated for 0.1.2. From gward@cnri.reston.va.us Thu Dec 16 00:53:03 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:53:03 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/examples/sample1 - New directory Message-ID: <199912160053.TAA03638@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/examples/sample1 In directory thrak:/home/gward/python/distutils/examples/sample1 Log Message: Directory /projects/cvsroot/distutils/examples/sample1 added to the repository From gward@cnri.reston.va.us Thu Dec 16 00:53:10 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:53:10 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/examples/sample2 - New directory Message-ID: <199912160053.TAA03653@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/examples/sample2 In directory thrak:/home/gward/python/distutils/examples/sample2 Log Message: Directory /projects/cvsroot/distutils/examples/sample2 added to the repository From gward@cnri.reston.va.us Thu Dec 16 00:54:25 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:54:25 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/examples/sample1 sample.py setup.py Message-ID: <199912160054.TAA03684@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/examples/sample1 In directory thrak:/home/gward/python/distutils/examples/sample1 Added Files: sample.py setup.py Log Message: Sample module distribution #1: single module in root package, specified in the setup script with 'py_modules'. From gward@cnri.reston.va.us Thu Dec 16 00:55:17 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 19:55:17 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/examples/sample2 setup.py Message-ID: <199912160055.TAA03703@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/examples/sample2 In directory thrak:/home/gward/python/distutils/examples/sample2 Added Files: setup.py Log Message: Sample module distribution #2 (setup script only -- the "code" is the same): single module in root package, specified implicitly in the setup script by 'packages'. From gward@cnri.reston.va.us Thu Dec 16 01:12:36 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 20:12:36 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/examples/sample2 sample.py Message-ID: <199912160112.UAA03840@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/examples/sample2 In directory thrak:/home/gward/python/distutils/examples/sample2 Added Files: sample.py Log Message: Copy of sample.py from sample1 distribution. From gward@cnri.reston.va.us Thu Dec 16 01:13:08 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 20:13:08 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils TODO Message-ID: <199912160113.UAA03856@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils In directory thrak:/home/gward/python/distutils Added Files: TODO Log Message: Added so the whole release is under CVS control. From gward@cnri.reston.va.us Thu Dec 16 01:13:44 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 20:13:44 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils setup.py Message-ID: <199912160113.UAA03881@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils In directory thrak:/home/gward/python/distutils Modified Files: setup.py Log Message: Bumped version to 0.1.2. From gward@cnri.reston.va.us Thu Dec 16 01:14:18 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 20:14:18 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils/command dist.py Message-ID: <199912160114.UAA03897@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils/command In directory thrak:/home/gward/python/distutils/distutils/command Modified Files: dist.py Log Message: Catch errors from 'rmtree' and emit a warning. From gward@cnri.reston.va.us Thu Dec 16 01:19:08 1999 From: gward@cnri.reston.va.us (Greg Ward) Date: Wed, 15 Dec 1999 20:19:08 -0500 (EST) Subject: [Distutils-checkins] CVS: distutils/distutils core.py Message-ID: <199912160119.UAA03953@thrak.cnri.reston.va.us> Update of /projects/cvsroot/distutils/distutils In directory thrak:/home/gward/python/distutils/distutils Modified Files: core.py Log Message: When emitting a command-line error message, *say* it's an error.