1. 02 Mar, 2000 3 commits
    • Greg Ward's avatar
      If the "build_lib" command built any C libraries, link with them all · 60f64330
      Greg Ward authored
        when building extensions (uses build_lib's 'get_library_names()' method).
      Ensure that the relative structure of source filenames is preserved in
        the temporary build tree, eg. foo/bar.c compiles to
        build/temp.<plat>/foo/bar.o.
      60f64330
    • Greg Ward's avatar
      Added command description. · 833dfd52
      Greg Ward authored
      Added 'build_clib' and 'build_temp' options (where to put C libraries
        and where to put temporary compiler by-products, ie. object files).
      Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()'
        -- that way, if we're going to crash we do so earlier, and we guarantee
        that the library list is valid before we do anything (not just run).
      Disallow directory separators in library names -- the compiled library
        always goes right in 'build_clib'.
      Added 'get_library_names()', so the "build_ext" command knows what
        libraries to link every extension with.
      833dfd52
    • Greg Ward's avatar
      In the 'compile()' method: preserve the directory portion of source · 49ffce17
      Greg Ward authored
      filenames when constructing object filenames, even if output_dir given --
      eg. "foo/bar.c" will compile to "foo/bar.o" without an output_dir, and to
      "temp/foo/bar.o" if output_dir is "temp".
      49ffce17
  2. 01 Mar, 2000 10 commits
  3. 29 Feb, 2000 8 commits
  4. 28 Feb, 2000 10 commits
  5. 27 Feb, 2000 3 commits
  6. 26 Feb, 2000 4 commits
    • Barry Warsaw's avatar
      Changes submitted by Peter Funk (some fixes/additions by B.Warsaw) to · c8f0892d
      Barry Warsaw authored
      make pygettext more compatible with GNU xgettext, specifically:
      
      Added -E/--escape for allowing pass-thru of iso8859-1 characters above
      7 bits.
      
      Added -o/--output option for renaming the output file from
      messages.pot (there's overlap with -d/--default-domain, but GNU
      xgettext has them both).
      
      Added -p/--output-dir for specifying the output directory for
      messages.pot.
      
      Added -V/--version for printing the version number.
      
      Added -w/--width for specifying the output page width (this is because
      now pygettext, like GNU xgettext will put several locations on the
      same line to cut down on vertical space).
      
      Added -x/--exclude-file for specifying a list of strings that are not
      to be extracted from the input files.
      
      Bumped version number to 1.0
      
      Try to import fintl and use fintl.gettext as _ if available.  Fall
      back is to use identity definition of _().
      
      Moved the escape creation to a function make_escapes() so that its
      behavior can be controlled by the -E option.
      
      __openseen(): Support the -x option.
      
      write(): Support -w option and vertical space preserving feature.
      
      main(): Support new options.
      c8f0892d
    • Greg Ward's avatar
      The "Distributing Python Modules" manual; currently empty (I'll get to it · abc52169
      Greg Ward authored
      Real Soon Now(TM).
      abc52169
    • Greg Ward's avatar
      7a0620c3
    • Greg Ward's avatar
      Unfinished, untested implementation of the lovely baroque installation scheme · 4f08e4fa
      Greg Ward authored
      cooked up by Fred Drake and me.  Only saved for posterity (whoever posterity
      is), as it is about to be ditched in favour of GvR's much simpler design.
      4f08e4fa
  7. 25 Feb, 2000 2 commits
    • Andrew M. Kuchling's avatar
      Better fix for mpzmodule problem reported by Peter Funk: just use · b6f6e95e
      Andrew M. Kuchling authored
          mp_bits_per_limb with GMP 2.0
      b6f6e95e
    • Barry Warsaw's avatar
      Changes inspired by Randall Hooper to allow callbacks when an · 7d3f27c0
      Barry Warsaw authored
      OptionMenu is modified.  Somewhat rewritten and elaborated by myself.
      
      class _setit: The constructor now takes an optional argument
      `callback' and stashes this in a private variable.  If set, the
      __call__() method will invoke this callback after the variable's value
      has changed.  It will pass the callback the value, followed by any
      args passed to __call__().
      
      class OptionMenu: The constructor now takes keyword arguments, the
      only one that's legally recognized is `command', which can be set to a
      callback.  This callback is invoked when the OptionMenu value is set.
      Any other keyword argument throws a TclError.
      7d3f27c0