1. 02 Jun, 2000 5 commits
    • Greg Ward's avatar
      Only print debugging output if DEBUG true (and deleted some of the more · 1d343163
      Greg Ward authored
      extraneous debug prints).
      1d343163
    • Greg Ward's avatar
      Use Distribution method 'dump_option_dicts()' for debugging output, and only · 1870024f
      Greg Ward authored
      do so if DEBUG is true.
      1870024f
    • Greg Ward's avatar
      Ditched the obsolete '_get_package_data()' method and its · 4e66ce53
      Greg Ward authored
      '_check_*()' helpers.
      4e66ce53
    • Greg Ward's avatar
      Fairly massive overhaul to support getting RPM inputs (extra meta-data, · c857db21
      Greg Ward authored
      prep/build/etc. scripts, doc files, dependency info) from a config file
      rather than the dedicated "package_info" file.  (The idea is that
      developers will provide RPM-specific info in the "[bdist_rpm]" section of
      setup.cfg, but of course it could also be supplied in the other config
      files, on the command line, or in the setup script -- or any mix of the
      above.)
      
      Major changes:
        * added a boatload of options to 'user_options' and
          'initialize_options()': 'distribution_name', 'group', 'release', ...
        * added 'finalize_package_data()', which takes the place of
          '_get_package_data()' -- except it's called from 'finalize_options()',
          not 'run()', so we have everything figured out before we actually run
          the command
        * added 'ensure_string()', 'ensure_string_list()', 'ensure_filename()';
          these take the place of '_check_string()' and friends.  (These actually
          look like really useful type-checking methods that could come in handy
          all over the Distutils; should consider moving them up to Command and
          using them in other command classes' 'finalize_options()' method for
          error-checking).
        * various cleanup, commentary, and adaptation to the new way of
          storing RPM info in '_make_spec_file()'
      c857db21
    • Greg Ward's avatar
      Reformatted and updated many docstrings. · fcdde577
      Greg Ward authored
      fcdde577
  2. 01 Jun, 2000 5 commits
  3. 31 May, 2000 7 commits
  4. 30 May, 2000 6 commits
  5. 28 May, 2000 5 commits
  6. 27 May, 2000 7 commits
  7. 26 May, 2000 4 commits
    • Greg Ward's avatar
      Rene Liebscher: check if the extension file (.so or .pyd) is · b960e574
      Greg Ward authored
      up-to-date with respect to the source files; that way, we
      don't needlessly rebuild just because object files go away.
      b960e574
    • Greg Ward's avatar
      Factored out code for extracting-or-creating one of the option · bab7e258
      Greg Ward authored
        dictionaries in 'self.command_options' to 'get_option_dict()'.
      Simplified code in 'parse_config_files()' and 'parse_command_line()'
        accordingly.
      Fixed code in constructor that processes the 'options' dictionary
        from the setup script so it actually works: uses the new
        'self.command_options' dictionary rather than creating command
        objects and calling 'set_option()' on them.
      bab7e258
    • Greg Ward's avatar
      Added the DEBUG global (set from the DISTUTILS_DEBUG environment variable). · a9e47e47
      Greg Ward authored
      Changed the exception-handling code in 'setup()' to re-raise exceptions
        if DEBUG is true.
      a9e47e47
    • Greg Ward's avatar
      Fixed a couple of long-hidden bugs (amazing what you find when you · 514f94d0
      Greg Ward authored
      attempt to verify the bold assertions in the documentation):
        * entries for the "root package" in 'package_dir' didn't work --
          fixed by improving the fall-through code in 'get_package_dir()'
        * __init__.py files weren't installed when modules-in-packages
          were listed individually (ie. in 'py_modules' in the setup script);
          fixed by making 'check_package()' return the name of the __init__
          file if it exists, and making 'find_modules()' add an entry to
          the module list for __init__ if applicable
      514f94d0
  8. 25 May, 2000 1 commit