- 07 Mar, 2000 4 commits
- 06 Mar, 2000 4 commits
-
-
Greg Ward authored
simpler implementation.
-
Greg Ward authored
implement it (so far): * moved filename generation methods into CCompiler base class, driven by data supplied by implementation classes * moved a bunch of common code from UnixCCompiler to convenience methods in CCompiler * overhauled MSVCCompiler's compile/link methods to look and act as much as possible like UnixCCompiler's, in order to regularize both interface and behaviour (especially by using those new convenience methods)
-
Greg Ward authored
-
Greg Ward authored
Don't assume that the 'libraries' and 'library_dirs' elements of the build info dict are always lists.
-
- 03 Mar, 2000 2 commits
- 02 Mar, 2000 5 commits
-
-
Greg Ward authored
* replaced build_lib.py with build_clib.py * renamed the class in build_clib.py * changed all references to 'build_lib' command in other command classes
-
Greg Ward authored
-
Greg Ward authored
when building extensions (uses build_lib's 'get_library_names()' method). Ensure that the relative structure of source filenames is preserved in the temporary build tree, eg. foo/bar.c compiles to build/temp.<plat>/foo/bar.o.
-
Greg Ward authored
Added 'build_clib' and 'build_temp' options (where to put C libraries and where to put temporary compiler by-products, ie. object files). Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()' -- that way, if we're going to crash we do so earlier, and we guarantee that the library list is valid before we do anything (not just run). Disallow directory separators in library names -- the compiled library always goes right in 'build_clib'. Added 'get_library_names()', so the "build_ext" command knows what libraries to link every extension with.
-
Greg Ward authored
filenames when constructing object filenames, even if output_dir given -- eg. "foo/bar.c" will compile to "foo/bar.o" without an output_dir, and to "temp/foo/bar.o" if output_dir is "temp".
-
- 01 Mar, 2000 7 commits
-
-
Greg Ward authored
exists before calling the compiler/linker.
-
Greg Ward authored
the compiler objects 'verbose' and 'dry_run' flags.
-
Greg Ward authored
'Distribution.find_command_obj()'.
-
Greg Ward authored
platform, using 'os.uname()' or 'sys.platform'.
-
Greg Ward authored
* 'build_dir' -> 'build_lib', which by default takes its value straight from 'build_lib' in the 'build' command * added 'build_temp' and 'inplace' options * change 'build_extensions()' to put object files (compiler turds) in 'build_temp' dir * complicated the name-of-extension-file shenanigans in 'build_extensions()' to support "in-place" extension building, i.e. put the extension right into the source tree (handy for developers) * added 'get_ext_fullname()', renamed 'extension_filename()' to 'get_ext_filename()', and tweaked the latter a bit -- all to support the new filename shenanigans
-
Greg Ward authored
* 'build_lib' -> 'build_purelib' * new 'build_lib' and 'build_temp' options * use 'get_platform()' to initialize 'build_platlib' and 'build_temp'
-
Greg Ward authored
-
- 26 Feb, 2000 2 commits
- 24 Feb, 2000 1 commit
-
-
Greg Ward authored
-
- 18 Feb, 2000 7 commits
-
-
Greg Ward authored
'set_final_options()' to 'initialize_options()' and 'finalize_options()'.
-
Greg Ward authored
'set_final_options()' to 'finalize_options()'.
-
Greg Ward authored
Related docstring changes. Unrelated comment changes.
-
Greg Ward authored
-
Greg Ward authored
in 'find_command_class()' method.
-
Greg Ward authored
command itself: no more of this "FooBar class for foo_bar command" silliness.
-
Greg Ward authored
-
- 17 Feb, 2000 2 commits
- 11 Feb, 2000 2 commits
-
-
Greg Ward authored
'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).
-
Greg Ward authored
* 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.
-
- 10 Feb, 2000 4 commits
-
-
Greg Ward authored
function names, dbetter (hopefully) ocstrings, and comments.
-
Greg Ward authored
-
Greg Ward authored
/export option mini-kludge.
-
Greg Ward authored
* 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)
-