Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ditched '_find_SET()', since it was a no-value-added wrapper around | Greg Ward | 2000-02-11 | 1 | -23/+14 |
| | | | | | | | | 'get_msvc_paths()'. Renamed '_do_SET()' to 'set_path_env_var()', tweaked docstring, and cosmetically tweaked code. Stylistic changes to MSVCCompiler constructor (variable renaming and type consistency). | ||||
* | Latest patch from Thomas Heller/Robin Becker: | Greg Ward | 2000-02-11 | 1 | -47/+68 |
| | | | | | | | | | | * tweak my docstrings * fix None returns to empty list * reshuffle responsibilities between '_find_exe()', '_find_SET()', and the MSVCCompiler constructor -- now the constructor worries about fetching the version list and determining the most recent one * added "/W3" compile option Also, I added/tweaked some docstrings. | ||||
* | Stylistic changes to the registry-grovelling code: code formatting, changed | Greg Ward | 2000-02-10 | 1 | -23/+51 |
| | | | | function names, dbetter (hopefully) ocstrings, and comments. | ||||
* | Typecheck 'output_dir' argument to compile/link methods. | Greg Ward | 2000-02-10 | 1 | -0/+6 |
| | |||||
* | Path from Thomas Heller: resurrect the .def file kludge while preserving the | Greg Ward | 2000-02-10 | 1 | -2/+14 |
| | | | | /export option mini-kludge. | ||||
* | Patch from Thomas heller: | Greg Ward | 2000-02-10 | 1 | -11/+33 |
| | | | | | | | * don't need to mention python<ver>.lib -- it's done by a pragma * add debug flags for compile and link, and use them * fix 'link_shared_library()' to pass everything to 'link_shared_object()' * change filename when shared object with debug info (ugh) | ||||
* | Added 'debug' option, and changed compile/link calls to use it. | Greg Ward | 2000-02-09 | 3 | -10/+30 |
| | |||||
* | Added 'debug' option (just there for 'build_ext' and 'build_lib' commands | Greg Ward | 2000-02-09 | 1 | -0/+3 |
| | | | | to fallback to if the user doesn't set it for those commands. | ||||
* | Added 'debug' flags to compile and link methods, and added dummy code for | Greg Ward | 2000-02-09 | 1 | -3/+13 |
| | | | | | | someone who knows Windows/MSVC++ to come along and add the right flags. Comment noting that 'link_static_lib()' signature is inconsistent with the other compiler classes (uh-oh!) | ||||
* | Added 'debug' flags to compile and link methods, and modified code to add | Greg Ward | 2000-02-09 | 1 | -1/+13 |
| | | | | '-g' flag to compiler/linker command lines when it's true. | ||||
* | Added 'debug' flag to compile and link method signatures. | Greg Ward | 2000-02-09 | 1 | -23/+43 |
| | | | | | Doc fix: several paragraphs under 'link_static_lib()' moved to 'link_shared_lib()', where they belong. | ||||
* | get_config_h_filename(): Support NT as well as Posix systems. | Fred Drake | 2000-02-08 | 1 | -10/+14 |
| | | | | | | | | | _init_nt(): Use get_config_h_filename() instead of figuring out the name directly. g['SO'] should be set to '.pyd'. Adjust some minor coding nits. | ||||
* | Revised version (thank to Thomas Heller and Robin Becker) that tries a lot | Greg Ward | 2000-02-08 | 1 | -3/+98 |
| | | | | harder to find the MSVC compiler (mainly by using the registry). | ||||
* | Ditch .def file kludge for (much smaller) /export option kludge. | Greg Ward | 2000-02-08 | 1 | -12/+1 |
| | |||||
* | Added 'libraries' option for use by the 'build_lib' command. | Greg Ward | 2000-02-05 | 1 | -1/+2 |
| | | | | Typo fix. | ||||
* | Run the 'build_lib' command before building extensions, if necessary. | Greg Ward | 2000-02-05 | 1 | -0/+6 |
| | |||||
* | New command to build C (and C++, hopefully) libraries needed by extensions | Greg Ward | 2000-02-05 | 2 | -0/+322 |
| | | | | in the current distribution: motivated by PIL's libImaging. | ||||
* | Tweaked various comments, docstrings, and error messages. | Greg Ward | 2000-02-05 | 1 | -2/+12 |
| | |||||
* | Improved an error message. | Greg Ward | 2000-02-03 | 1 | -2/+5 |
| | | | | Announce when we start building each extension (better feedback). | ||||
* | Changed 'compile()' method to compile files one-at-a-time -- gives better | Greg Ward | 2000-02-03 | 1 | -28/+21 |
| | | | | | feedback and, theoretically, the opportunity to set compiler flags on a per-file basis. | ||||
* | Patch from Joe Van Andel: fix arg to % operator in warning. | Greg Ward | 2000-02-02 | 1 | -2/+2 |
| | |||||
* | Comment fix. | Greg Ward | 2000-02-02 | 1 | -8/+13 |
| | | | | | Always use normalized (with os.path.normpath()) versions of prefix and exec_prefix. | ||||
* | Allow either README or README.txt as a "standard file". | Greg Ward | 2000-01-30 | 1 | -4/+16 |
| | |||||
* | Fixed broken list extend in 'copy_tree()'. | Greg Ward | 2000-01-30 | 1 | -2/+2 |
| | |||||
* | Added 'description' class attribute to every command class (to help the | Greg Ward | 2000-01-30 | 8 | -6/+26 |
| | | | | | | | '--help-commands' option). Shuffled imports around in a few command modules to avoid expensive up-front import of sysconfig (and resulting delays in generating list of all commands). | ||||
* | Added 'dist' command. | Greg Ward | 2000-01-30 | 1 | -0/+2 |
| | |||||
* | Improvements to the help system: | Greg Ward | 2000-01-30 | 1 | -5/+89 |
| | | | | | | | | * "--help" can now come either before or after particular commands to get help on and can give help on multiple commands, eg. "--help install dist" gives help on those two commands * added "--help-commands" option, implemented by the 'print_commands()' and 'print_command_list()' methods | ||||
* | Added missing run of corresponding 'build' command. | Greg Ward | 2000-01-30 | 3 | -0/+9 |
| | |||||
* | Fix indentation bug. | Greg Ward | 2000-01-17 | 1 | -2/+2 |
| | |||||
* | Catch OSError from 'spawnv()' in '_spawn_nt()'. | Greg Ward | 2000-01-17 | 1 | -5/+12 |
| | | | | Tweaked error messages in '_spawn_posix()'. | ||||
* | Removed /GD switch -- currently ignored by MSVC. | Greg Ward | 2000-01-17 | 1 | -1/+1 |
| | |||||
* | Added compiler flags suggested by Thomas Heller: optimize, use multi-threaded | Greg Ward | 2000-01-17 | 1 | -1/+1 |
| | | | | RT library. | ||||
* | Added missing import. | Greg Ward | 2000-01-17 | 1 | -8/+23 |
| | | | | Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist. | ||||
* | Added code to use Jim Ahlstrom's zipfile.py module if the external zip | Greg Ward | 2000-01-17 | 1 | -5/+32 |
| | | | | | command wasn't found or failed. (Code supplied by Thomas Heller <thomas.heller@ion-tof.com>.) | ||||
* | Fix library filename methods -- there is no 'lib' prefix under DOS/Windows. | Greg Ward | 2000-01-17 | 1 | -5/+2 |
| | |||||
* | Always run sys.prefix and sys.exec_prefix through 'os.path.normpath()' | Greg Ward | 2000-01-17 | 1 | -4/+4 |
| | | | | before storing or using. | ||||
* | Ditch unneeded imports. | Greg Ward | 2000-01-17 | 1 | -1/+0 |
| | |||||
* | 'newer_group()' can now deal with missing files, in a way specified by | Greg Ward | 2000-01-09 | 1 | -2/+17 |
| | | | | the 'missing' parameter. | ||||
* | Abstracted '_fix_link_args()' out of 'link_shared_object()'. | Greg Ward | 2000-01-09 | 1 | -37/+133 |
| | | | | | | | | | | | | | | Added 'link_static_lib()' method, and 'archiver' and 'archiver_options' class attributes to support it. Added 'link_executable()' method, and 'ld_exec' instance attribute to support it. 'newer_group()' is now able to handle missing files, so we don't have to kludge it by catching OSError when calling it. 'object_filenames()' and 'shared_object_filename()' now take 'keep_dir' flag parameters. 'library_filename()' and 'shared_library_filename()' now respect a directory component in the library name. Various comment updates/deletions. | ||||
* | Removed a bunch of irrelevant parameters from 'link_static_lib()' signature. | Greg Ward | 2000-01-09 | 1 | -8/+18 |
| | | | | Added 'link_executable()' signature. | ||||
* | Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places. | Greg Ward | 2000-01-09 | 1 | -5/+5 |
| | |||||
* | When emitting a command-line error message, *say* it's an error. | Greg Ward | 1999-12-16 | 1 | -1/+1 |
| | |||||
* | Catch errors from 'rmtree' and emit a warning. | Greg Ward | 1999-12-16 | 1 | -2/+10 |
| | |||||
* | Use 'search', not 'match', on filename pattern regexes. | Greg Ward | 1999-12-13 | 1 | -2/+2 |
| | |||||
* | Catch up with terminology change in UnixCCompiler: 'includes' -> 'include_dirs'. | Greg Ward | 1999-12-12 | 2 | -11/+12 |
| | |||||
* | Catch missing MANIFEST file and warn rather than blowing up. | Greg Ward | 1999-12-12 | 1 | -3/+27 |
| | | | | | | | | 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()'. | ||||
* | Fixed 'find_package_modules()' to ensure that we never build (and thus | Greg Ward | 1999-12-12 | 1 | -11/+24 |
| | | | | | | | | 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. | ||||
* | Changed 'build_extensions()' so 'sources' can be a list or tuple; and | Greg Ward | 1999-12-12 | 1 | -3/+4 |
| | | | | | call CCompiler method 'compile()' with 'include_dirs' not 'includes'. Fixed stupid typo in 'get_source_files()'. | ||||
* | In 'compile()' method, renamed 'includes' parameter to 'include_dirs' for | Greg Ward | 1999-12-12 | 1 | -6/+16 |
| | | | | | | consistency with 'build_ext' command option. Changed 'compile()' and 'link_shared_object()' so 'include_dirs', 'libraries', and 'library_dirs' can be lists or tuples. | ||||
* | Added support for printing out help text from option table: 'print_help()', | Greg Ward | 1999-12-12 | 1 | -12/+171 |
| | | | | | | | | '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. |