1. 22 Mar, 2013 1 commit
  2. 21 Mar, 2013 1 commit
  3. 16 Mar, 2013 1 commit
  4. 11 Mar, 2013 1 commit
  5. 03 Feb, 2013 1 commit
    • Éric Araujo's avatar
      Add alias to restore 2.7.2 compatibility for setup scripts (#13994). · 4627dd08
      Éric Araujo authored
      The customize_compiler function moved many times during the 2.7 series;
      in 2.7.3, setup scripts importing this function from ccompiler were
      broken.  This commit restores compatibility without reintroducing the
      issue that #13994 originally fixed (duplication of the function).
      
      A unit test makes little sense here, as distutils tests never do imports
      in functions, and the fix is very simple.
      4627dd08
  6. 31 Jan, 2013 2 commits
    • doko@python.org's avatar
      9c2f75cb
    • Ned Deily's avatar
      Issue #13590: OS X Xcode 4 - improve support for universal extension modules · 30f6c6e3
      Ned Deily authored
          In particular, fix extension module build failures when trying to use
          32-bit-only installer Pythons on systems with Xcode 4 (currently
          OS X 10.8, 10.7, and optionally 10.6).
          * Backport 3.3.0 fixes to 2.7 branch (for release in 2.7.4)
          * Since Xcode 4 removes ppc support, extension module builds now
            check for ppc compiler support and by default remove ppc and
            ppc64 archs when they are not available.
          * Extension module builds now revert to using system installed
            headers and libs (/usr and /System/Library) if the SDK used
            to build the interpreter is not installed or has moved.
          * Try to avoid building extension modules with deprecated
            and problematic Apple llvm-gcc compiler.  If original compiler
            is not available, use clang instead by default.
      30f6c6e3
  7. 27 Jan, 2013 1 commit
  8. 18 Dec, 2012 1 commit
  9. 09 Dec, 2012 2 commits
  10. 08 Dec, 2012 1 commit
  11. 11 Aug, 2012 1 commit
  12. 03 Jul, 2012 2 commits
    • Éric Araujo's avatar
      Create ~/.pypirc securely (#13512). · 3facc550
      Éric Araujo authored
      There was a window between the write and the chmod where the user’s
      password would be exposed, depending on default permissions.  Philip
      Jenvey’s patch fixes it.
      3facc550
    • Éric Araujo's avatar
      Ignore .nfs* files in distutils (#7719). · 885b0922
      Éric Araujo authored
      These files are created by some NFS clients a file is edited and removed
      concurrently (see added link in doc for more info).  If such a file is
      removed between distutils calls listdir and copy, it will get confused.
      Other special files are ignored in sdist (namely VCS directories), but
      this has to be filtered out earlier.
      885b0922
  13. 10 Apr, 2012 2 commits
  14. 09 Apr, 2012 3 commits
  15. 17 Mar, 2012 2 commits
  16. 15 Mar, 2012 2 commits
  17. 07 Mar, 2012 1 commit
  18. 05 Mar, 2012 2 commits
  19. 26 Feb, 2012 2 commits
    • Éric Araujo's avatar
      Synchronize some distutils tests with 3.2. · 760bf348
      Éric Araujo authored
      - Actually check the contents of the file created by bdist_dumb.
      - Don’t use “RECORD” as filename for non-PEP 376 record file
      - Don’t start method name with “_test”, it looks like a disabled test
        method instead of an helper method
      - Fix some idioms (assertIn, addCleanup)
      760bf348
    • Éric Araujo's avatar
      Stop ignoring RPMs in distutils' upload command (#2945). · e660d4f2
      Éric Araujo authored
      Bug reported by Hartmut Goebel and patch contributed by Carl Robben.
      Untested backport of the fix committed and tested for 3.2.
      e660d4f2
  20. 25 Feb, 2012 2 commits
    • Éric Araujo's avatar
      Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). · 0322e3da
      Éric Araujo authored
      These regex changes fix a number of issues for distutils on Windows:
      - #6884: impossible to include a file starting with 'build'
      - #9691 and #14004: sdist includes too many files
      - #13193: test_filelist failures
      
      This commit replaces the incorrect changes done in 557a973709de,
      c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix
      the test failures and I did not study the code enough before
      greenlighting patches.  This time we have unit tests from the problems
      reported by users to be sure we have the right fix.
      
      Thanks to Nadeem Vawda for his help.
      0322e3da
    • Éric Araujo's avatar
      Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). · 9db46d43
      Éric Araujo authored
      These regex changes fix a number of issues for distutils on Windows:
      - #6884: impossible to include a file starting with 'build'
      - #9691 and #14004: sdist includes too many files
      - #13193: test_filelist failures
      
      This commit replaces the incorrect changes done in 557a973709de,
      c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix
      the test failures and I did not study the code enough before
      greenlighting patches.  This time we have unit tests from the problems
      reported by users to be sure we have the right fix.
      
      Thanks to Nadeem Vawda for his help.
      9db46d43
  21. 23 Feb, 2012 3 commits
  22. 15 Feb, 2012 2 commits
  23. 13 Feb, 2012 1 commit
  24. 12 Feb, 2012 1 commit
    • Éric Araujo's avatar
      Fix distutils.filelist.FileList under Windows (#13193). · 2c62a97a
      Éric Araujo authored
      The code used to call os.path.join to build a regex but without escaping
      the backslash, which lead to test failures on Windows.  Antoine Pitrou
      fixed it in 557a973709de by enhancing the code to accept both / and \,
      with proper escaping, but in my opinion this goes against the distutils
      feature freeze, hence this change.
      2c62a97a
  25. 11 Feb, 2012 1 commit
    • Ned Deily's avatar
      Issue #13994: Earler partial revert of Distutils enhancements in 2.7 · e1f6c4c9
      Ned Deily authored
      has left two versions of customize_compiler, the original in
      distutils.sysconfig and another copy in distutils.ccompiler, with some
      parts of distutils calling one and others using the other.
      Complete the revert back to only having one in distutils.sysconfig as
      is the case in 3.x.
      e1f6c4c9
  26. 10 Feb, 2012 1 commit
    • Ned Deily's avatar
      Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building · 8108212a
      Ned Deily authored
      Distutils-based packages with C extension modules may fail because
      Apple has removed gcc-4.2, the version used to build python.org
      64-bit/32-bit Pythons.  If the user does not explicitly override
      the default C compiler by setting the CC environment variable,
      Distutils will now attempt to compile extension modules with clang
      if gcc-4.2 is required but not found. Also as a convenience, if
      the user does explicitly set CC, substitute its value as the default
      compiler in the Distutils LDSHARED configuration variable for OS X.
      (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
      SDK, neither of which are available in Xcode 4.  This change does not
      attempt to override settings to support their use with Xcode 4.)
      8108212a