1. 17 Jan, 2000 5 commits
  2. 09 Jan, 2000 4 commits
  3. 16 Dec, 1999 2 commits
  4. 13 Dec, 1999 1 commit
  5. 12 Dec, 1999 7 commits
    • Greg Ward's avatar
    • Greg Ward's avatar
      Catch missing MANIFEST file and warn rather than blowing up. · a65fd32d
      Greg Ward authored
      Added 'nuke_release_tree()' method to blow away the directory from
        which the archive file(s) are created, and call it (conditionally)
        from 'make_distribution()'.
      Added 'keep_tree' option (false by default) to disable the call to
        'nuke_release_tree()'.
      a65fd32d
    • Greg Ward's avatar
      Fixed 'find_package_modules()' to ensure that we never build (and thus · 749d2ea5
      Greg Ward authored
        install) the setup script itself.
      Fixed 'build_module()' so we do *not* preserve file mode (which means
        we can install read-only files, which makes the next installation
        of this distribution fail -- at least under Unix); added a comment
        explaining this.
      749d2ea5
    • Greg Ward's avatar
      Changed 'build_extensions()' so 'sources' can be a list or tuple; and · c2cadc8e
      Greg Ward authored
        call CCompiler method 'compile()' with 'include_dirs' not 'includes'.
      Fixed stupid typo in 'get_source_files()'.
      c2cadc8e
    • Greg Ward's avatar
      In 'compile()' method, renamed 'includes' parameter to 'include_dirs' for · 6b3ff9ee
      Greg Ward authored
        consistency with 'build_ext' command option.
      Changed 'compile()' and 'link_shared_object()' so 'include_dirs',
        'libraries', and 'library_dirs' can be lists or tuples.
      6b3ff9ee
    • Greg Ward's avatar
      Added support for printing out help text from option table: 'print_help()', · 8fa8e3f2
      Greg Ward authored
        'generate_help()', 'wrap_text()' functions, and a little tiny test
        of 'wrap_text()'.
      Changed how caller states that one option is the boolean opposite of
        another: added 'negative_opt' parameter to 'fancy_getopt()', and changed
        to use it instead of parsing long option name.
      8fa8e3f2
    • Greg Ward's avatar
      Made "verbose" mode the default; now you have to supply --quiet if you · 948163cd
      Greg Ward authored
        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.
      948163cd
  6. 03 Dec, 1999 1 commit
    • Greg Ward's avatar
      [from 1999-11-04] · 2bfd1886
      Greg Ward authored
      Bunch of little bug fixes that appeared in building non-packagized
      distributions.  Mainly:
        - brain-slip typo in 'get_package_dir()'
        - don't try to os.path.join() an empty path tuple -- it doesn't like it
        - more type-safety in 'build_module()'
      2bfd1886
  7. 23 Oct, 1999 4 commits
  8. 03 Oct, 1999 10 commits
  9. 29 Sep, 1999 6 commits
    • Greg Ward's avatar
    • Greg Ward's avatar
      Added all documentation. · 3a5f9618
      Greg Ward authored
      Slightly improved the code for dealing with newline on a comment line,
        and for stripping whitespace.
      3a5f9618
    • Greg Ward's avatar
    • Greg Ward's avatar
      Added 'package' option. · 0e1de219
      Greg Ward authored
      Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'.
      Don't call 'set_final_options()' in 'run()' anymore -- that's now
        guaranteed to be taken care of for us by the Distribution instance.
      If 'include_dirs' is a string, split it on os.pathsep (this is half-
        hearted -- support for setting compile/link options on the command
        line is totally lame and probably won't work at all).
      Added 'get_source_files()' for use by 'dist' command.
      Added code to 'build_extensions()' to figure out the "def file" to use
        with MSVC++ and add it to the linker command line as an "extra_postarg".
      0e1de219
    • Greg Ward's avatar
      Renamed 'dir' option to be consistent with other commands. · dc070bb9
      Greg Ward authored
      Don't call 'set_final_options()' in 'run()' anymore -- that's now
        guaranteed to be taken care of for us by the Distribution instance.
      Rearranged to bit to allow outsiders (specifically, the 'dist' command)
        to find out what modules we would build:
        - 'find_modules()' renamed to 'find_package_modules()'
        - most of 'build_modules()' abstracted out to 'find_modules()'
        - added 'get_source_files()' (for the 'dist' command to use)
        - drastically simplified 'build_modules()' -- now just a wrapper around
          'find_modules()' and 'build_module()'
      dc070bb9
    • Greg Ward's avatar
      Renamed many options to be consistent across commands. · ef61002f
      Greg Ward authored
      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.
      ef61002f