1. 19 Agu, 2008 1 kayıt (commit)
  2. 30 Agu, 2007 1 kayıt (commit)
  3. 17 Nis, 2007 1 kayıt (commit)
  4. 10 Ock, 2007 1 kayıt (commit)
  5. 02 Ara, 2003 1 kayıt (commit)
  6. 14 Kas, 2002 1 kayıt (commit)
  7. 05 Kas, 2002 1 kayıt (commit)
    • Gustavo Niemeyer's avatar
      This patch fixes the following bugs: · 6b016852
      Gustavo Niemeyer yazdı
      [#413582] g++ must be called for c++ extensions
      [#454030] distutils cannot link C++ code with GCC
      
      topdir = "Lib/distutils"
      
      * bcppcompiler.py
        (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs
        and extra_postargs parameters. Included target_lang parameter.
        (BCPPCompiler.link): Included target_lang parameter.
      
      * msvccompiler.py
        (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs
        and extra_postargs parameters. Included target_lang parameter.
        (MSVCCompiler.link): Included target_lang parameter.
      
      * ccompiler.py
        (CCompiler): New language_map and language_order attributes, used by
        CCompiler.detect_language().
      
        (CCompiler.detect_language): New method, will return the language of
        a given source, or list of sources. Individual source language is
        detected using the language_map dict. When mixed sources are used,
        language_order will stablish the language precedence.
      
        (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable,
         CCompiler.link_shared_object, CCompiler.link_shared_lib):
        Inlcuded target_lang parameter.
      
      * cygwinccompiler.py
        (CygwinCCompiler.link): Included target_lang parameter.
      
      * emxccompiler.py
        (EMXCCompiler.link): Included target_lang parameter.
      
      * mwerkscompiler.py
        (MWerksCompiler.link): Included target_lang parameter.
      
      * extension.py
        (Extension.__init__): New 'language' parameter/attribute, initialized
        to None by default. If provided will overlap the automatic detection
        made by CCompiler.detect_language(), in build_ext command.
      
      * sysconfig.py
        (customize_compiler): Check Makefile for CXX option, and also the
        environment variable CXX. Use the resulting value in the 'compiler_cxx'
        parameter of compiler.set_executables().
      
      * unixccompiler.py
        (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting
        to 'cc'.
        (UnixCCompiler.create_static_lib): Included target_lang parameter.
        (UnixCCompiler.link): Included target_lang parameter, and made
        linker command use compiler_cxx, if target_lang is 'c++'.
      
      * command/build_ext.py
        (build_ext.build_extension): Pass new ext.language attribute
        to compiler.link_shared_object()'s target_lang parameter. If
        ext.language is not provided, detect language using
        compiler.detect_language(sources) instead.
      
      * command/config.py
        (config._link): Pass already available lang parameter as target_lang
        parameter of compiler.link_executable().
      6b016852
  8. 29 Eyl, 2002 1 kayıt (commit)
  9. 04 Agu, 2002 2 kayıt (commit)
  10. 18 Haz, 2002 1 kayıt (commit)
  11. 13 Haz, 2002 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Refactor compile() method implementations. · 1bba31d9
      Jeremy Hylton yazdı
      Always use _setup_compile() to do the grunt work of processing
      arguments, figuring out which files to compile, and emitting debug
      messages for files that are up-to-date.
      
      Use _get_cc_args() when possible.
      1bba31d9
  12. 04 Haz, 2002 2 kayıt (commit)
    • Jeremy Hylton's avatar
      Fix unused local variables caught by pychecker. · a2f9989c
      Jeremy Hylton yazdı
      Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have
      prevented it from building subpackages.
      a2f9989c
    • Jeremy Hylton's avatar
      Make setup.py less chatty by default. · cd8a1148
      Jeremy Hylton yazdı
      This is a conservative version of SF patch 504889.  It uses the log
      module instead of calling print in various places, and it ignores the
      verbose argument passed to many functions and set as an attribute on
      some objects.  Instead, it uses the verbosity set on the logger via
      the command line.
      
      The log module is now preferred over announce() and warn() methods
      that exist only for backwards compatibility.
      
      XXX This checkin changes a lot of modules that have no test suite and
      aren't exercised by the Python build process.  It will need
      substantial testing.
      cd8a1148
  13. 06 Şub, 2002 1 kayıt (commit)
  14. 06 Ara, 2001 1 kayıt (commit)
  15. 26 Tem, 2001 1 kayıt (commit)
  16. 22 Mar, 2001 2 kayıt (commit)
  17. 09 Şub, 2001 1 kayıt (commit)
  18. 12 Ara, 2000 1 kayıt (commit)
  19. 27 Eyl, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Big patch from Rene Liebscher to simplify the CCompiler API and · 4240648a
      Greg Ward yazdı
      implementations.  Details:
        * replace 'link_shared_object()', 'link_shared_lib()', and
          'link_executable()' with 'link()', which is (roughly)
          the union of the three methods it replaces
        * in all implementation classes (UnixCCompiler, MSVCCompiler, etc.),
          ditch the old 'link_*()' methods and replace them with 'link()'
        * in the abstract base class (CCompiler), add the old 'link_*()'
          methods as wrappers around the new 'link()' (they also print
          a warning of the deprecated interface)
      
      Also increases consistency between MSVCCompiler and BCPPCompiler,
      hopefully to make it easier to factor out the mythical WindowsCCompiler
      class.  Details:
        * use 'self.linker' instead of 'self.link'
        * add ability to compile resource files to BCPPCompiler
        * added (redundant?) 'object_filename()' method to BCPPCompiler
        * only generate a .def file if 'export_symbols' defined
      4240648a
  20. 01 Eyl, 2000 1 kayıt (commit)
  21. 13 Agu, 2000 2 kayıt (commit)
    • Greg Ward's avatar
      Overhauld 'check_config_h()': now returns a (status, details) tuple, · e8e9d114
      Greg Ward yazdı
      and is much better documented to boot.
      e8e9d114
    • Greg Ward's avatar
      Rene Liebscher: · b1dceae3
      Greg Ward yazdı
        * use self.debug_print() for debug messages
        * uses now copy.copy() to copy lists
        * added 'shared_lib_extension=".dll"', ... , this is necessary if you
          want use the compiler class outside of the standard distutils build
          process.
        * changed result type of check_config_h() from int to string
      b1dceae3
  22. 02 Agu, 2000 1 kayıt (commit)
    • Greg Ward's avatar
      Latest version from Rene Liebscher; major changes: · bf5c7097
      Greg Ward yazdı
        - added big comment describing possible problems
        - look for and react to versions of gcc, ld, and dlltool; mainly
          this is done by the 'get_versions()' function and the CygwinCCompiler
          and Mingw32CCompiler constructors
        - move 'check_config_h()' to end of file and defer calling it until
          we need to (ie. in the CygwinCCompiler constructor)
        - lots of changes in 'link_shared_object()' -- mostly seems to be
          library and DLL stuff, but I don't follow it entirely
      bf5c7097
  23. 27 Tem, 2000 1 kayıt (commit)
  24. 29 Haz, 2000 1 kayıt (commit)
  25. 21 Haz, 2000 1 kayıt (commit)