1. 06 Ara, 2001 1 kayıt (commit)
  2. 26 Eyl, 2000 1 kayıt (commit)
  3. 01 Eyl, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Added 'run_setup()' to allow outsiders to run a setup script under · e3644e24
      Greg Ward yazdı
      fairly tight control, and the '_setup_stop_after' and '_setup_distribution'
      globals to provide the tight control.
      
      This isn't entirely reliable yet: it dies horribly with a NameError on the
      example PIL setup script in examples/pil_setup.py (at least with Python
      1.5.2; untested with current Python).  There's some strangeness going
      on with execfile(), but I don't understand it and don't have time
      to track it down right now.
      e3644e24
  4. 29 Agu, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Added 'script_name' and 'script_args' instance attributes to Distribution. · 9821bf4e
      Greg Ward yazdı
      Changed 'core.setup()' so it sets them to reasonable defaults.
      Tweaked how the "usage" string is generated: 'core' now provides
        'gen_usage()', which is used instead of 'USAGE'.
      Modified "build_py" and "sdist" commands to refer to
        'self.distribution.script_name' rather than 'sys.argv[0]'.
      9821bf4e
  5. 21 Haz, 2000 1 kayıt (commit)
  6. 17 Haz, 2000 1 kayıt (commit)
  7. 03 Haz, 2000 1 kayıt (commit)
  8. 02 Haz, 2000 2 kayıt (commit)
  9. 31 May, 2000 1 kayıt (commit)
  10. 30 May, 2000 1 kayıt (commit)
  11. 26 May, 2000 1 kayıt (commit)
  12. 23 May, 2000 2 kayıt (commit)
  13. 12 May, 2000 1 kayıt (commit)
  14. 22 Nis, 2000 2 kayıt (commit)
  15. 09 Nis, 2000 1 kayıt (commit)
  16. 04 Nis, 2000 1 kayıt (commit)
  17. 31 Mar, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Added 'get_name()' and 'get_full_name()' methods to Distribution. · 1b64a7e4
      Greg Ward yazdı
      Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()'
        to get the peer command object.
      Updated 'Command.copy_file()' to take a 'link' parameter, just like
        'util.copy_file()' does now.
      Added 'Command.make_archive()' to wrap 'util.make_archive()'.
      1b64a7e4
  18. 29 Mar, 2000 1 kayıt (commit)
  19. 26 Mar, 2000 1 kayıt (commit)
  20. 22 Mar, 2000 2 kayıt (commit)
  21. 18 Mar, 2000 1 kayıt (commit)
  22. 02 Mar, 2000 1 kayıt (commit)
  23. 01 Mar, 2000 1 kayıt (commit)
  24. 26 Şub, 2000 1 kayıt (commit)
  25. 18 Şub, 2000 3 kayıt (commit)
  26. 05 Şub, 2000 1 kayıt (commit)
  27. 30 Ock, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Improvements to the help system: · f0fd6175
      Greg Ward yazdı
        * "--help" can now come either before or after particular commands
          to get help on and can give help on multiple commands, eg.
          "--help install dist" gives help on those two commands
        * added "--help-commands" option, implemented by the 'print_commands()'
          and 'print_command_list()' methods
      f0fd6175
  28. 16 Ara, 1999 1 kayıt (commit)
  29. 12 Ara, 1999 1 kayıt (commit)
    • Greg Ward's avatar
      Made "verbose" mode the default; now you have to supply --quiet if you · c9c37b1c
      Greg Ward yazdı
        want no output.  Still no option for a happy medium though.
      Added "--help" global option.
      Changed 'parse_command_line()' to recognize help options (both for the
        whole distribution and per-command), and to distinguish "regular run"
        and "user asked for help" by returning false in the latter case.
      Also in 'parse_command_line()', detect invalid command name on command
        line by catching DistutilsModuleError.
        a 'negative_opt' class attribute right after 'global_options'; changed
        how we call 'fancy_getopt()' accordingly.
      Initialize 'maintainer' and 'maintainer_email' attributes to Distribution
        to avoid AttributeError when 'author' and 'author_email' not defined.
      Initialize 'help' attribute in Command constructor (to avoid
        AttributeError when user *doesn't* ask for help).
      In 'setup()':
        * show usage message before dying when we catch DistutilsArgError
        * only run commands if 'parse_command_line()' returned true (that
          way, we exit immediately when a help option is found)
        * catch KeyboardInterrupt and IOError from running commands
      Bulked up usage message to show --help options.
      Comment, docstring, and error message tweaks.
      c9c37b1c
  30. 23 Eki, 1999 1 kayıt (commit)
  31. 03 Eki, 1999 1 kayıt (commit)
    • Greg Ward's avatar
      Added 'force' and 'quiet' (negative alias for 'verbose') to the · 0c35ac62
      Greg Ward yazdı
        global options table.
      Every Command instance now has its own copies of the global options,
        which automatically fallback to the Distribution instance.  Changes:
        - initialize them in constructor
        - added '__getattr__()' to handle the fallback logic
        - changed every 'self.distribution.{verbose,dry_run}' in Command to
          'self.{verbose,dry_run}'.
        - filesystem utility methods ('copy_file()' et al) don't take 'update'
          parameter anymore -- instead we pass 'not force' to the underlying
          function as 'update'
      Changed parsing of command line so that global options apply to all
        commands as well -- that's how (eg.) Command.verbose will be initialized.
      Simplified 'make_file()' to use 'newer_group()' (from util module).
      Deleted some cruft.
      Some docstring tweaks.
      0c35ac62
  32. 29 Eyl, 1999 1 kayıt (commit)
    • 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
  33. 21 Eyl, 1999 1 kayıt (commit)
    • Greg Ward's avatar
      Ditched the whole notion of "alias options": this meant dropping the · df0d3358
      Greg Ward yazdı
        'alias_options' table and getting rid of some hairy code in the
        Distribution constructor.
      Resurrected the distribution options that describe the modules present
        in the module distribution ('py_modules', 'ext_modules'), and added
        a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs',
        'install_path'.
      Updated some comments.
      Added 'warn()' method to Command.
      'Command.get_command_name()' now stores generated command name in
        self.command_name.
      df0d3358
  34. 13 Eyl, 1999 1 kayıt (commit)