1. 13 Mar, 2014 1 commit
    • Éric Araujo's avatar
      Make distutils error messages more helpful (#11599). · 45fc8713
      Éric Araujo authored
      When running external programs such as a C compiler and getting an
      error code, distutils only prints the program name.  With this change,
      one can get the full command line by setting the DISTUTILS_DEBUG
      environment variable.
      
      This should have no compatibility issues, unless there are tools
      that depend on the exact format of distutils debug messages.
      45fc8713
  2. 10 Oct, 2012 1 commit
  3. 28 Jul, 2011 1 commit
  4. 29 Jun, 2011 2 commits
    • Ned Deily's avatar
      Issue #9516: Change distutils to no longer globally attempt to check and · a8f8b50b
      Ned Deily authored
      set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
      on OS X.  This could cause failures in non-distutils subprocesses and was
      unreliable since tests or user programs could modify the interpreter
      environment after distutils set it.  Instead, have distutils set the
      the deployment target only in the environment of each build subprocess.
      
      Continue to use the previous algorithm for deriving the deployment target
      value:
          if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
              use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
          elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
              use the env MACOSX_DEPLOYMENT_TARGET
          else: # env value less than interpreter build configure value
              raise exception
      This allows building extensions that can only run on newer versions of
      the OS than the version python was built for, for example with a python
      built for 10.3 or later and an extension that needs to be built for 10.5.
      a8f8b50b
    • Ned Deily's avatar
      Issue #9516: Change distutils to no longer globally attempt to check and · 041645a8
      Ned Deily authored
      set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
      on OS X.  This could cause failures in non-distutils subprocesses and was
      unreliable since tests or user programs could modify the interpreter
      environment after distutils set it.  Instead, have distutils set the
      the deployment target only in the environment of each build subprocess.
      
      Continue to use the previous algorithm for deriving the deployment target
      value:
          if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
              use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
          elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
              use the env MACOSX_DEPLOYMENT_TARGET
          else: # env value less than interpreter build configure value
              raise exception
      This allows building extensions that can only run on newer versions of
      the OS than the version python was built for, for example with a python
      built for 10.3 or later and an extension that needs to be built for 10.5.
      041645a8
  5. 02 Jun, 2009 2 commits
  6. 25 Jan, 2009 1 commit
  7. 06 Jan, 2008 1 commit
  8. 30 Aug, 2007 1 commit
  9. 17 Apr, 2007 1 commit
  10. 09 Feb, 2007 1 commit
    • Guido van Rossum's avatar
      Fix most trivially-findable print statements. · be19ed77
      Guido van Rossum authored
      There's one major and one minor category still unfixed:
      doctests are the major category (and I hope to be able to augment the
      refactoring tool to refactor bona fide doctests soon);
      other code generating print statements in strings is the minor category.
      
      (Oh, and I don't know if the compiler package works.)
      be19ed77
  11. 10 Jan, 2007 1 commit
  12. 10 Nov, 2004 1 commit
  13. 18 Jul, 2004 1 commit
  14. 24 Feb, 2004 1 commit
  15. 21 Nov, 2002 1 commit
  16. 19 Nov, 2002 1 commit
  17. 14 Nov, 2002 1 commit
  18. 04 Jun, 2002 1 commit
    • Jeremy Hylton's avatar
      Make setup.py less chatty by default. · cd8a1148
      Jeremy Hylton authored
      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
  19. 31 Jan, 2002 1 commit
  20. 06 Dec, 2001 1 commit
  21. 26 Sep, 2000 1 commit
  22. 02 Aug, 2000 1 commit
  23. 26 Mar, 2000 1 commit
  24. 23 Mar, 2000 1 commit
  25. 07 Mar, 2000 1 commit
  26. 02 Mar, 2000 1 commit
  27. 17 Jan, 2000 1 commit
  28. 08 Sep, 1999 1 commit
    • Greg Ward's avatar
      [from 1999/08/28] · a4d132a8
      Greg Ward authored
      Apparently os.name is "nt" or "posix" or we don't care.
      Cosmetic tweaks.
      a4d132a8
  29. 29 Aug, 1999 1 commit
  30. 14 Aug, 1999 1 commit