- 29 Mar, 2000 11 commits
-
-
Greg Ward authored
Made handling OSError in 'mkpath()' more standard.
-
Greg Ward authored
make 'mkdir()' return list of directories created.
-
Greg Ward authored
for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist' command.
-
Greg Ward authored
in preparation for the 'bdist_dumb' command; these methods remain as trivial wrappers around the versions in distutils.util.
-
Greg Ward authored
'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
-
Greg Ward authored
-
Greg Ward authored
is responsible for installing all Python modules (pure and extensions). Added 'get_outputs()' in preparation for the 'bdist' command, and '_mutate_outputs()' to support 'get_outputs()'.
-
Greg Ward authored
in a class attribute 'sub_commands', rather than hard-coded in 'run()'. This should make it easier to subclass 'install', and also makes it easier to keep 'run()' and the new 'get_outputs()' consistent. Added 'get_outputs()' in preparation for the 'bdist' command.
-
Greg Ward authored
methods of Distribution instead of grovelling directly in self.distribution.
-
Greg Ward authored
Changed signature of 'build_extensions()': no longer takes the extension list, but uses 'self.extensions' (just like 'get_outputs()' has to) Moved call to 'check_extensions_list()' from 'run()' to 'build_extensions()', again for consistency with 'get_outputs()'.
-
Greg Ward authored
A host of improvements in preparation for the 'bdist' command: - added 'get_outputs()' method (all the other improvements were to support this addition) - made 'find_package_modules()' and 'find_modules()' return similar values (list of (package, module, module_filename) tuples) - factored 'find_all_modules()' out of 'get_source_files()' (needed by 'get_outputs()') - factored 'get_module_outfile()' out of 'build_module()' (also needed by 'get_outputs()') - various little tweaks, improvements, comment/doc updates
-
- 26 Mar, 2000 6 commits
-
-
Greg Ward authored
handle OSError and DistutilsExecError now.
-
Greg Ward authored
rather than None.
-
Greg Ward authored
Fixed 'build_extensions()' to pay attention to the 'rpath' element of the 'build_info' dictionary.
-
Greg Ward authored
we don't know what to do with it when we see it. Call '_fix_object_args()' and/or '_fix_lib_args()' as appropriate, rather than just '_fix_link_args()'.
-
Greg Ward authored
use it when linking. Call '_fix_object_args()' and/or '_fix_lib_args()' as appropriate, rather than just '_fix_link_args()'.
-
Greg Ward authored
Split '_fix_link_args()' up into '_fix_object_args()' (for use of 'create_static_lib() and link methods) and '_fix_lib_args()' (for the link methods only).
-
- 23 Mar, 2000 3 commits
- 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 1 commit
-
-
Greg Ward authored
'link_static_lib()'.
-