1. 18 Mar, 2000 1 commit
    • Greg Ward's avatar
      Changed to pay attention to the 'runtime_library_dirs' list (= 'rpath' · a447a647
      Greg Ward authored
      option in the 'build_ext' command):
        * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs'
          parameter
        * in unixccompiler.py and msvccompiler.py: now pass
          'self.runtime_library_dirs' to 'gen_lib_options()', and define
          'runtime_library_dir_option()' (although in msvccompiler.py it
          blows up with a DistutilsPlatformError right now!)
      a447a647
  2. 10 Mar, 2000 3 commits
  3. 09 Mar, 2000 2 commits
    • Fred Drake's avatar
      There are a few places which can raise DistutilsPlatformError; make · 13a17ccd
      Fred Drake authored
      sure it's imported!  ;)
      
      Re-wrap the docstrings on get_python_inc() and get_python_lib() to be
      closer to the "normal" Python style.  See GvR's "style guide" on the
      essays page (http://www.python.org/doc/essays/).
      
      There should never be a space between a function name and the '(' that
      opens the argument list (see the style guide again).
      13a17ccd
    • Greg Ward's avatar
      Added Joe Van Andel's 'get_python_inc()', adapted by me to supply · 86ff6523
      Greg Ward authored
        the platform-neutral include dir by default and with Mac support.
      Added 'get_python_lib()', inspired by 'get_python_inc()'.
      Rewrote 'get_config_h_filename()' and 'get_makefile_filename()'
        in terms of 'get_python_inc()' and 'get_python_lib()'.
      Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and
        'get_python_lib()' for directory names.
      86ff6523
  4. 07 Mar, 2000 4 commits
  5. 06 Mar, 2000 4 commits
  6. 03 Mar, 2000 2 commits
  7. 02 Mar, 2000 5 commits
    • Greg Ward's avatar
      Renamed 'build_lib' command to 'build_clib': · e67e55e0
      Greg Ward authored
        * replaced build_lib.py with build_clib.py
        * renamed the class in build_clib.py
        * changed all references to 'build_lib' command in other command classes
      e67e55e0
    • Greg Ward's avatar
      Changed '__rcsid__' to '__revision__'. · 41b23372
      Greg Ward authored
      41b23372
    • Greg Ward's avatar
      If the "build_lib" command built any C libraries, link with them all · 720accdc
      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.
      720accdc
    • Greg Ward's avatar
      Added command description. · 76ec4484
      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.
      76ec4484
    • Greg Ward's avatar
      In the 'compile()' method: preserve the directory portion of source · 872379e9
      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".
      872379e9
  8. 01 Mar, 2000 7 commits
  9. 26 Feb, 2000 2 commits
  10. 24 Feb, 2000 1 commit
  11. 18 Feb, 2000 7 commits
  12. 17 Feb, 2000 2 commits