1. 25 Sep, 2000 3 commits
    • Greg Ward's avatar
      0881101d
    • Greg Ward's avatar
      Added 'strtobool()' function: convert strings like "yes", "1", · a9f1b90d
      Greg Ward authored
      "no", "0", etc. to true/false.
      a9f1b90d
    • Greg Ward's avatar
      Fixed some bugs and mis-features in handling config files: · 16f0821b
      Greg Ward authored
        * options can now be spelled "foo-bar" or "foo_bar" (handled in
          'parse_config_files()', just after we parse a file)
        * added a "[global]" section so there's a place to set global
          options like verbose/quiet and dry-run
        * respect the "negative alias" dictionary so (eg.) "quiet=1" is
          the same as "verbose=0" (this had to be done twice: once in
          'parse_config_file()' for global options, and once in
          '_set_command_options()' for per-command options)
        * the other half of handling boolean options correctly: allow
          commands to list their boolean options in a 'boolean_options'
          class attribute, and use it to translate strings (like "yes", "1",
          "no", "0", etc) to true or false
      16f0821b
  2. 23 Sep, 2000 3 commits
  3. 22 Sep, 2000 3 commits
    • Greg Ward's avatar
      Tweak what happens when run on non-Windows platforms: set install prefix · 7d6f876b
      Greg Ward authored
      as well as scheme, and don't convert all installation paths (that's now
      done by the "install" command for us).
      7d6f876b
    • Greg Ward's avatar
      Changed all paths in the INSTALL_SCHEMES dict to Unix syntax, and added · ade6e349
      Greg Ward authored
      'convert_paths()' method to convert them all to the local syntax (backslash
      or colon or whatever) at the appropriate time.
      
      Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in
      'select_scheme()').
      
      Default 'install_path_file' to true, and never set it false (it's just
      there in case some outsider somewhere wants to disable installation of the
      .pth file for whatever reason).
      
      Toned down the warning emitted when 'install_path_file' is false, since we
      no longer know why it might be false.
      
      Added 'warn_dir' flag to suppress warning when installing to a directory
      not in sys.path (again, we never set this false -- it's there for outsiders
      to use, specifically the "bdist_*" commands).
      
      Pulled the loop of 'change_root()' calls out to new method 'change_roots()'.
      
      Comment updates/deletions/additions.
      ade6e349
    • Greg Ward's avatar
      Fix 'convert_path()' so it returns immediately under Unix -- prevents blowing · d56ce29d
      Greg Ward authored
      up when the pathname starts with '/', which is needed when converting
      installation directories in the "install" command.
      d56ce29d
  4. 21 Sep, 2000 1 commit
  5. 19 Sep, 2000 2 commits
  6. 18 Sep, 2000 1 commit
  7. 17 Sep, 2000 3 commits
  8. 16 Sep, 2000 18 commits
  9. 15 Sep, 2000 6 commits