Commits

Author Commit Message Labels Comments Date
gward
[svn r13795] Careful rethink of command options, distribution options, distribution attributes, etc. Biggest change was to the Distribution constructor -- it now looks for an 'options' attribute, which contains values (options) that are explicitly farmed out to the commands. Also, certain options supplied to Distribution (ie. in the 'setup()' call in setup.py) are now "command option aliases", meaning they are dropped right into a certain command rather than being d…
gward
[svn r13794] Ditched redundant docstrings and comments (overlap with ccompiler.py). Ditched redundant '_gen_preprocess_options()' and '_gen_lib_options()' -- now provided by ccompiler.py. Fixed some filename extension variables -- added missing period. Cosmetic tweaks.
gward
[svn r13793] Ditched '_gen_preprocess_options()' and '_gen_lib_options()' -- they're now provided (minus the leading underscore) by the ccompiler module. Fix 'compile()' to return the list of object files generated. Cosmetic tweaks/delete cruft.
gward
[svn r13792] os.name is "posix" or "nt" or we don't care. Added big comment about the kludginess of passing 'build_options' to the link methods and how to fix it. Added 'gen_preprocess_options()' and 'gen_lib_options()' convenience functions -- the two cases are very similar for Unix C Compilers and VC++, so I figured I might as well unify the implementations.
gward
[svn r13791] [from 1999/08/28] Apparently os.name is "nt" or "posix" or we don't care. Cosmetic tweaks.
gward
[svn r13784] Patch from Perry Stoll: caught up with changes in CCompiler necessary (?) for MSVCCompiler.
gward
[svn r13783] Patch from Perry Stoll: tweaks to Windows support.
gward
[svn r13782] Patch from Perry Stoll: support for Windows.
gward
[svn r13781] Patch from Perry Stoll: import types module.
gward
[svn r13780] Patch from Perry Stoll: typo fix, make sure we only compile .py files.
gward
[svn r13779] Patch from Perry Stoll: OK for list of modules to be empty.
gward
[svn r13778] Patch from Perry Stoll: pass 'build_info' to link method.
gward
[svn r13777] Patch from Perry Stoll: - fix some broken abstract methods - kludge: add 'build_info' parameter to link methods - add 'object_name()' and 'shared_library_name()' - support for MSVCCompiler class on NT/Win95
gward
[svn r13776] Added msvccompiler module exactly as supplied by Perry Stoll.
gward
[svn r13742] Oops, call 'os.path.join()'!
gward
[svn r13729] Implements the 'build_ext' command for building C/C++ extension modules.
gward
[svn r13728] Module to spawn sub-commands in a platform-independent way. Initial revision only includes support for POSIX-style fork-and-exec.
gward
[svn r13727] Changed to use 'spawn()', now that it exists. Added 'verbose' and 'dry_run' parameters to constructor. Changed 'compile()', 'link_*()' to default lists arguments to None rather than empty list. Added implementations of the filename-mangling methods mandated by the CCompiler interface.
gward
[svn r13726] Added 'verbose' and 'dry_run' flags to CCompiler constructor and 'new_compiler()' factory function. Added 'runtime_library_dirs' list (for -R linker option) and methods to manipulate it. Deleted some obsolete comments. Added all the filename manglign methods: 'object_filenames()', 'shared_object_filename()', 'library_filename()', 'shared_library_filename()'. Added 'spawn()' method (front end to the "real" spawn).
gward
[svn r13725] Comment tweak.
gward
[svn r13724] Better detection of bad entries in option table. Better error messages for bad entries in option table.
gward
[svn r13723] Added DistutilsExecError, DistutilsValueError.
gward
[svn r13714] Allow comment characters (#) to be escaped: - did away with 'comment_re' option -- it's just not that simple anymore - heavily revised the main logic in 'readline()' to accomodate this Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is automatically converted to a string.
gward
[svn r13646] The first concrete subclass of CCompiler: defines a barebones Unix C compiler.
gward
[svn r13645] The abstract base class that defines the C/C++ compiler abstraction model.
gward
[svn r13644] Added a self-berating command relating to installation directories for module distributions that contain platform-specific files.
gward
[svn r13643] Don't pollute importer's namespace with type objects from types modules. Added DistutilsPlatformError.
gward
[svn r13442] On David Ascher's recommendation: reversed order of 'utime()' and 'chmod()' in 'copy_file()'.
gward
[svn r13435] Hacked 'set_final_options()' to set (hopefully) appropriate values for 'install_site_lib' and install_site_platlib' on non-POSIX platforms. Should at least work for NT, as this is adopted from Amos Latteier's NT patches. Also added extensive comments bitching about the inadequacy of the current model, both under POSIX and NT (and probably other) systems.
gward
[svn r13434] Added the 'have_run' dictionary to Distribution, and changed 'run_command()' to refer to it before attempting to run a command -- that way, command classes can freely invoke other commands without fear of duplicate execution. Beefed up some comments and docstrings.
  1. Prev
  2. Next