1. 13 Sep, 1999 6 commits
  2. 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
  3. 29 Aug, 1999 9 commits
  4. 19 Aug, 1999 1 commit
  5. 14 Aug, 1999 7 commits
  6. 10 Aug, 1999 1 commit
    • Greg Ward's avatar
      Allow comment characters (#) to be escaped: · 8c9d0320
      Greg Ward authored
        - 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.
      8c9d0320
  7. 10 Jul, 1999 4 commits
  8. 08 Jun, 1999 4 commits
  9. 02 May, 1999 2 commits
    • Greg Ward's avatar
      The 'copy_file()' and 'copy_tree()' functions in util.py now have · 8e849283
      Greg Ward authored
      meaningful return values: respectively, whether the copy was done, and
      the list of files that were copied.  This meant some trivial changes in
      core.py as well: the Command methods that mirror 'copy_file()' and
      'copy_tree()' have to pass on their return values.
      8e849283
    • Greg Ward's avatar
      Rearranged things so that compilation of .py files is the responsibility · 4da83200
      Greg Ward authored
      of the 'install_py' command rather than 'build_py'.  Obviously, this
      meant that the 'build_py' and 'install_py' modules had to change; less
      obviously, so did 'install' and 'build', since these higher-level
      commands must make options available to control the lower-level
      commands, and some compilation-related options had to migrate with the
      code.
      4da83200