1. 25 Aug, 2011 1 commit
  2. 03 Sep, 2011 1 commit
  3. 29 Aug, 2011 1 commit
  4. 23 Aug, 2011 1 commit
    • Éric Araujo's avatar
      Fix distutils tests on Windows (#12678). · fa9b78e7
      Éric Araujo authored
      - First, support.fixup_build_ext (already used to set proper
        library_dirs value under Unix shared builds) gains the ability to
        correctly set the debug attribute under Windows debug builds.
      
      - Second, the filename for the extension module gets a _d suffix under
        debug builds.
      
      - Third, the test code properly puts our customized build_ext object
        into an internal dictionary to make sure that the install command will
        later use our object instead of re-creating one.  That’s the downside
        of using low-level APIs in our test code: we have to manually push
        knobs and turn handles that would otherwise be handled behind the
        scenes.
      
      Thanks to Nadeem for the testing.
      fa9b78e7
  5. 21 Aug, 2011 2 commits
  6. 20 Aug, 2011 2 commits
  7. 21 Aug, 2011 1 commit
  8. 20 Aug, 2011 1 commit
    • Éric Araujo's avatar
      Refactor the copying of xxmodule.c in distutils tests (#12141). · 5deb9c1a
      Éric Araujo authored
      I need to copy this file in another test too, so I moved the support
      code to distutils.tests.support and improved it:
      
      - don’t skip when run from the Lib/distutils/tests directory
      - use proper skip machinery instead of custom print/return/test suite
        fiddling.
      5deb9c1a
  9. 13 Aug, 2011 1 commit
  10. 31 Jul, 2011 1 commit
    • Éric Araujo's avatar
      Fix regression with distutils MANIFEST handing (#11104, #8688). · 2659dbff
      Éric Araujo authored
      The changed behavior of sdist in 3.1 broke packaging for projects that
      wanted to use a manually-maintained MANIFEST file (instead of having a
      MANIFEST.in template and letting distutils generate the MANIFEST).
      
      The fixes that were committed for #8688 (76643c286b9f by Tarek and
      d54da9248ed9 by me) did not fix all issues exposed in the bug report,
      and also added one problem: the MANIFEST file format gained comments,
      but the read_manifest method was not updated to handle (i.e. ignore)
      them.  This changeset should fix everything; the tests have been
      expanded and I successfully tested the 2.7 version with Mercurial, which
      suffered from this regression.
      
      I have grouped the versionchanged directives for these bugs in one place
      and added micro version numbers to help users know the quirks of the
      exact version they’re using.
      
      Initial report, thorough diagnosis and patch by John Dennis, further
      work on the patch by Stephen Thorne, and a few edits and additions by
      me.
      2659dbff
  11. 28 Jul, 2011 1 commit
  12. 09 Jul, 2011 1 commit
  13. 03 Jul, 2011 1 commit
  14. 30 Jun, 2011 1 commit
  15. 29 Jun, 2011 2 commits
    • Ned Deily's avatar
      Issue #9516: Change distutils to no longer globally attempt to check and · 40bee45e
      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.
      40bee45e
    • Ned Deily's avatar
      140120ec
  16. 28 Jun, 2011 1 commit
  17. 11 Jun, 2011 2 commits
  18. 04 Jun, 2011 1 commit
  19. 29 May, 2011 2 commits
  20. 28 May, 2011 2 commits
  21. 15 May, 2011 2 commits
  22. 13 May, 2011 1 commit
  23. 10 May, 2011 3 commits
  24. 08 May, 2011 1 commit
  25. 20 Apr, 2011 1 commit
  26. 17 Apr, 2011 1 commit
  27. 14 Apr, 2011 1 commit
  28. 16 Mar, 2011 2 commits
  29. 15 Mar, 2011 2 commits