- 22 Mar, 2000 11 commits
-
-
Greg Ward authored
Deleted some crufty code.
-
Greg Ward authored
completely (was already commented-out).
-
Greg Ward authored
Python modules, pure and extensions.
-
Greg Ward authored
Python and extensions, into the same directory.
-
Greg Ward authored
longer needed, and can't possibly work anyways.
-
Greg Ward authored
these must come from the 'build' command. This means we no longer need the misconceived 'set_peer_option()' method in Command and, more importantly, sweeps away a bunch of potential future complexity to handle this tricky case.
-
Greg Ward authored
Tightened up some logic in 'native_path()'. Added 'subst_vars()' and '_check_environ()'.
-
Greg Ward authored
Fix 'Command.set_undefined_option()' to call 'ensure_ready()' rather than 'finalize_options()' (which is only supposed to be called once, which is the whole point of 'ensure_ready()'). Added comment to 'set_peer_option()' to remind myself that this method cannot work and is fundamentally wrong-headed.
-
Greg Ward authored
this command for a while; this implements roughly the plan cooked up by Guido, Fred, and me. Seems to strike a nice balance between usability in the common cases (just set one option), expandability for more types of files to install in future, and customizability of installation directories. This revision isn't completely working: standard and alternate installations work fine, but there are still some kinks to work out of customized installations.
-
Greg Ward authored
irrelevant because this file is about to go away, but oh well.
-
Greg Ward authored
have been checked in: was passing the PLAT environment variable as the 'plat' argument to 'new_compiler()'.
-
- 18 Mar, 2000 8 commits
-
-
Greg Ward authored
Added 'clean' to list of commands.
-
Greg Ward authored
that broke parsing command-line options. Instead call it in 'Command.find_peer()', which is why I added it to 'find_command_obj()' in the first place.
-
Greg Ward authored
* improve help strings * warn if user supplies non-existing directories * don't try to 'remove_tree()' non-existing directories * try to remove the build_base after cleanup (but don't do or say anything if it fails -- this is just in case we made it empty)
-
Greg Ward authored
use 'util.remove_tree()' instead of 'nuke_release_tree()'.
-
Greg Ward authored
-
Greg Ward authored
the Distutils 'clean' command.
-
Greg Ward authored
-
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 1 commit
-
-
Greg Ward authored
exists before calling the compiler/linker.
-