- 18 Mar, 2000 1 commit
-
-
Greg Ward authored
option in the 'build_ext' command): * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs' parameter * in unixccompiler.py and msvccompiler.py: now pass 'self.runtime_library_dirs' to 'gen_lib_options()', and define 'runtime_library_dir_option()' (although in msvccompiler.py it blows up with a DistutilsPlatformError right now!)
-
- 10 Mar, 2000 3 commits
- 09 Mar, 2000 2 commits
-
-
Fred Drake authored
sure it's imported! ;) Re-wrap the docstrings on get_python_inc() and get_python_lib() to be closer to the "normal" Python style. See GvR's "style guide" on the essays page (http://www.python.org/doc/essays/). There should never be a space between a function name and the '(' that opens the argument list (see the style guide again).
-
Greg Ward authored
the platform-neutral include dir by default and with Mac support. Added 'get_python_lib()', inspired by 'get_python_inc()'. Rewrote 'get_config_h_filename()' and 'get_makefile_filename()' in terms of 'get_python_inc()' and 'get_python_lib()'. Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and 'get_python_lib()' for directory names.
-
- 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