1. 29 Eyl, 1999 6 kayıt (commit)
    • Greg Ward's avatar
      Renamed many options to be consistent across commands. · e6ac2fcc
      Greg Ward yazdı
      Tweaked some help strings to be consistent with documentation.
      Don't call 'set_final_options()' in 'run()' anymore -- that's now
        guaranteed to be taken care of for us by the Distribution instance.
      e6ac2fcc
    • Greg Ward's avatar
      Catch up with latest changes in CCompiler: · df178f97
      Greg Ward yazdı
        - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
        - got rid of 'build_info' kludge parameter
        - added 'compiler_type' class attribute
        - respect reordered arguments to 'gen_lib_options()'
      Also added 'output_dir' parameter (catching up with older change in
        CCompiler) -- BUT this is presently ignored by all methods!
      Deleted some more docstrings redundant with CCompiler.
      Dropped generated of "/DEF:" argument --- that's now done by
        the 'build_ext' command.
      df178f97
    • Greg Ward's avatar
      Catch up with latest changes in CCompiler: · 0e3530ba
      Greg Ward yazdı
        - add 'extra_preargs' and 'extra_postargs' parameters (and use them!)
        - added 'compiler_type' class attribute
        - respect reordered arguments to 'gen_lib_options()'
      0e3530ba
    • Greg Ward's avatar
      Added 'extra_preargs' and 'extra_postargs' parameters to most methods, · 802d6b7b
      Greg Ward yazdı
        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).
      802d6b7b
    • Greg Ward's avatar
      More tweaks to 'mkpath()': · cd1486ff
      Greg Ward yazdı
        - deal with empty tail from os.path.split() (eg. from trailing slash,
          or backslash, or whatever)
        - check PATH_CREATED hash inside loop as well
      cd1486ff
    • Greg Ward's avatar
      Added 'ready' flag and 'ensure_ready()' method to Command: together · 3868eb97
      Greg Ward yazdı
        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()'.
      3868eb97
  2. 22 Eyl, 1999 1 kayıt (commit)
  3. 21 Eyl, 1999 9 kayıt (commit)
  4. 13 Eyl, 1999 10 kayıt (commit)
  5. 08 Eyl, 1999 6 kayıt (commit)
    • Greg Ward's avatar
      Changed to reflect the new "command options" regime -- in particular, · 71eb8644
      Greg Ward yazdı
      we no longer explicitly pull distribution options out of our Distribution
      object, but rather let the Distribution put them into the command object.
      71eb8644
    • Greg Ward's avatar
      Careful rethink of command options, distribution options, distribution · 42926ddc
      Greg Ward yazdı
        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()'.
      42926ddc
    • Greg Ward's avatar
      Ditched redundant docstrings and comments (overlap with ccompiler.py). · 3d50b908
      Greg Ward yazdı
      Ditched redundant '_gen_preprocess_options()' and '_gen_lib_options()'
        -- now provided by ccompiler.py.
      Fixed some filename extension variables -- added missing period.
      Cosmetic tweaks.
      3d50b908
    • Greg Ward's avatar
      Ditched '_gen_preprocess_options()' and '_gen_lib_options()' -- they're · c294113f
      Greg Ward yazdı
        now provided (minus the leading underscore) by the ccompiler module.
      Fix 'compile()' to return the list of object files generated.
      Cosmetic tweaks/delete cruft.
      c294113f
    • Greg Ward's avatar
      os.name is "posix" or "nt" or we don't care. · f7a39eca
      Greg Ward yazdı
      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.
      f7a39eca
    • Greg Ward's avatar
      [from 1999/08/28] · a4d132a8
      Greg Ward yazdı
      Apparently os.name is "nt" or "posix" or we don't care.
      Cosmetic tweaks.
      a4d132a8
  6. 29 Agu, 1999 8 kayıt (commit)