- 31 Mar, 2000 2 commits
-
-
Greg Ward authored
Added 'get_inputs()' (which is strikingly similar to 'get_outputs()' - sigh). Cosmetic tweaks.
-
Greg Ward authored
provided by Distribution. Cosmetic and error message tweaks. Simplified 'make_release_tree()': * extracted 'distutils.util.create_tree()' * don't have to do hard-linking ourselves -- it's now handled by 'distutils.util.copy_file()' (although the detection of whether hard linking is available still needs to be factored out) Removed 'make_tarball()' and 'make_zipfile()' entirely -- their role is now amply filled by 'distutils.util.make_archive()'. Simplified 'make_distribution()': * use Distribution's new 'get_full_name()' method * use 'make_archive()' instead of if/elif/.../else on the archive format
-
- 30 Mar, 2000 1 commit
-
-
Greg Ward authored
-
- 29 Mar, 2000 15 commits
-
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too.
-
Greg Ward authored
might have been copied, regardless of the 'update' flag.
-
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 2 commits