- 24 Jun, 2000 6 commits
-
-
Greg Ward authored
on if it sees a filename with unknown extension.
-
Greg Ward authored
in the module of the command classes that have command-specific help options. This lets us keep the principle of lazily importing the ccompiler module, and also gets away from defining non-methods at class level.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
accomodate SWIG interface files, resource files, etc.).
-
- 23 Jun, 2000 1 commit
-
-
Greg Ward authored
than a boolean indicating whether it did the copy.
-
- 21 Jun, 2000 8 commits
-
-
Greg Ward authored
major ports of GCC to Windows. Contributed by Rene Liebscher, and quite untested by me. Apparently requires tweaking Python's installed config.h and adding a libpython.a to build extensions.
-
Greg Ward authored
manifest, regenerate the manifest.
-
Greg Ward authored
-
Greg Ward authored
(Bug spotted and originally fixed by Rene Liebscher; fix redone by me.)
-
Greg Ward authored
'install_headers'.
-
Greg Ward authored
'try_cpp()', 'search_cpp()', and 'check_header()'. This is enough that the base config is actually useful for implementing a real config command, specifically one for mxDateTime.
-
Greg Ward authored
-
Greg Ward authored
it in UnixCCompiler. Still needs to be implemented in MSVCCompiler (and whatever other compiler classes are lurking out there, waiting to be checked in).
-
- 18 Jun, 2000 1 commit
-
-
Greg Ward authored
-
- 17 Jun, 2000 7 commits
-
-
Greg Ward authored
and added (empty) 'precompile_hook()' for symmetry. One can envision a much more elaborate hook mechanism, but this looks like it'll do for now.
-
Greg Ward authored
mutable, rather than public and constant.
-
Greg Ward authored
instead of muddling through IOError and OSError exception objects itself.
-
Greg Ward authored
muddling through IOError and OSError exception objects right here.
-
Greg Ward authored
forms that IOError and OSError can take (taken from core.py).
-
Greg Ward authored
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of the PATH_CREATED cache: specifically, if a directory is created with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()' is again requested to create it, then it would erroneously think the directory already existed, because it was in the PATH_CREATED cache. The patch (slightly tweaked by me) fixes that.
-
Greg Ward authored
-
- 08 Jun, 2000 10 commits
-
-
Greg Ward authored
passed None.
-
Greg Ward authored
-
Greg Ward authored
template into a new method 'prune_file_list()', called from 'get_file_list()' rather than 'read_manifest()' -- this keeps 'read_manifest()' more general. Deleted the redundant call to 'exclude_pattern()' in 'make_distribution()' -- this had the same intention as 'prune_file_list()', but was incomplete (only pruned the release tree, not the build tree) and in the wrong place (the prune wouldn't be reflected in the manifest file).
-
Greg Ward authored
Deleted old, commented-out 'exclude_pattern()' method.
-
Greg Ward authored
-
Greg Ward authored
a short form and text that wraps onto multiple lines.
-
Greg Ward authored
-
Greg Ward authored
'help_options' list; also added an editorial comment.
-
Greg Ward authored
directly printing to stdout. This was a bit more work than it sounds like it should have been: * turned 'select_pattern()' and 'exclude_pattern()' from functions into methods, so they can refer to 'self' to access the method * commented out the *other* 'exclude_pattern()' method, which appears to be vestigial code that was never cleaned up when the 'exclude_pattern()' function was created * changed the one use of the old 'exclude_pattern()' method to use the new 'exclude_pattern()' (same behaviour, slightly different args) * some code and docstring reformatting * and, of course, changed all the debugging prints to 'debug_print()' calls Added/tweaked some regular ('self.announce()') output for better runtime feedback.
-
Greg Ward authored
-
- 07 Jun, 2000 3 commits
-
-
Greg Ward authored
values that "--foo" can take for various commands: eg. what formats for "sdist" and "bdist", what compilers for "build_ext" and "build_clib". I have *not* reviewed this patch; I'm checking it in as-is because it also fixes a paper-bag-over-head bug in bdist.py, and because I won't have time to review it properly for several days: so someone else can test it for me, instead!
-
Greg Ward authored
and call it "distutils.cfg" instead of "pydistutils.cfg" (personal config files are still ".pydistutils.cfg" or "pydistutils.cfg", though).
-
Greg Ward authored
Look for personal config file in /home/greg on Windows, too: users will have to set /home/greg to use this, so it's not something that many people will use. But if python-dev comes up with the "right way" to divine a home directory on Windows, we can use that to set /home/greg and poof! -- personal Distutils config files on Windows.
-
- 06 Jun, 2000 4 commits
-
-
Greg Ward authored
one doesn't *do* anything by default; it's just there as a conduit for data (eg. include dirs, libraries) from the user to the "build" commands. However, it provides a couple of Autoconf-ish methods ('try_compile()', 'try_link()', 'try_run()') that derived, per-distribution "config" commands can use to poke around the target system and see what's available. Initial experimenst with mxDateTime indicate that higher-level methods are necessary: analogs of Autoconf's AC_CHECK_HEADER, AC_CHECK_LIB will be needed too (and that's just to probe the C/C++ system: how to probe the Python system is wide open, and someday we'll have to worry about probing a Java system too).
-
Greg Ward authored
command being reinitialized to false.
-
Greg Ward authored
-
Greg Ward authored
-