1. 29 Sep, 1999 4 commits
    • Greg Ward's avatar
      Catch up with latest changes in CCompiler: · 5a10a6e2
      Greg Ward authored
        - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
        - added 'compiler_type' class attribute
        - respect reordered arguments to 'gen_lib_options()'
      5a10a6e2
    • Greg Ward's avatar
      Added 'extra_preargs' and 'extra_postargs' parameters to most methods, · e748eefe
      Greg Ward authored
        which allowed us to get rid of the 'build_info' used in some places
        (a temporary kludge to support MSVC++ "def" files).
      Deleted big comment whining about that kludge.
      Added 'compiler_type' class attribute.
      Overhauled 'new_compiler()': now takes 'compiler' argument along with
        'plat' (both optional with sensible defaults), and looks them both up
        in the new 'default_compiler' and 'compiler_class' dictionaries to
        figure out where to get the concrete compiler class from.
      Reordered arguments to 'gen_lib_options()' to match the order in
        which the arguments are generated (ie. -L before -l).
      e748eefe
    • Greg Ward's avatar
      More tweaks to 'mkpath()': · 9a476d73
      Greg Ward authored
        - deal with empty tail from os.path.split() (eg. from trailing slash,
          or backslash, or whatever)
        - check PATH_CREATED hash inside loop as well
      9a476d73
    • Greg Ward's avatar
      Added 'ready' flag and 'ensure_ready()' method to Command: together · d2ce9d4f
      Greg Ward authored
        they make sure that 'set_final_options()' has been called, but isn't
        called redundantly.
      Changed Distribution to call 'ensure_ready()' where it used to call
        'set_final_options()', and in a few extra places as well.
      Lots of comment/docstring revisions and additions in both classes.
      New one-liner utility methods in Command: 'find_peer()', 'spawn()'.
      d2ce9d4f
  2. 22 Sep, 1999 1 commit
  3. 21 Sep, 1999 9 commits
  4. 13 Sep, 1999 10 commits
  5. 08 Sep, 1999 6 commits
    • Greg Ward's avatar
      Changed to reflect the new "command options" regime -- in particular, · ba6f5bc4
      Greg Ward authored
      we no longer explicitly pull distribution options out of our Distribution
      object, but rather let the Distribution put them into the command object.
      ba6f5bc4
    • Greg Ward's avatar
      Careful rethink of command options, distribution options, distribution · 7fc78eea
      Greg Ward authored
        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 distribution options.
        This is handled by a new Distribution class attribute,
        'alias_options'.
      Various comment changes to reflect the new way-of-thinking.
      Added 'get_command_name()' method to Command -- was assuming its
        existence all along as 'command_name()', so changed the code that
        needs it to call 'get_command_name()'.
      7fc78eea
    • Greg Ward's avatar
      Ditched redundant docstrings and comments (overlap with ccompiler.py). · 74deaef6
      Greg Ward authored
      Ditched redundant '_gen_preprocess_options()' and '_gen_lib_options()'
        -- now provided by ccompiler.py.
      Fixed some filename extension variables -- added missing period.
      Cosmetic tweaks.
      74deaef6
    • Greg Ward's avatar
      Ditched '_gen_preprocess_options()' and '_gen_lib_options()' -- they're · f57477b3
      Greg Ward authored
        now provided (minus the leading underscore) by the ccompiler module.
      Fix 'compile()' to return the list of object files generated.
      Cosmetic tweaks/delete cruft.
      f57477b3
    • Greg Ward's avatar
      os.name is "posix" or "nt" or we don't care. · 053838f4
      Greg Ward authored
      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.
      053838f4
    • Greg Ward's avatar
      [from 1999/08/28] · 8fb6d441
      Greg Ward authored
      Apparently os.name is "nt" or "posix" or we don't care.
      Cosmetic tweaks.
      8fb6d441
  6. 29 Aug, 1999 9 commits
  7. 19 Aug, 1999 1 commit