summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15364: Fix test_srcdir for the installed case.Ned Deily2012-07-281-1/+2
|
* Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.Richard Oudkerk2012-07-272-0/+45
|
* Issue #15184: Some config variables in test_sysconfig_moduleNed Deily2012-07-221-1/+21
| | | | | | | | may differ between sysconfig and distutils.sysconfig due to compiler customizations on OS X. For now, move those vars into a separate test and skip if the customization has taken place in distutils. The long-term solution is to eliminate having two sysconfig modules.
* Issue #15184: Ensure consistent results of OS X configurationNed Deily2012-07-214-322/+39
| | | | | | | tailoring for universal builds by factoring out common OS X-specific customizations from sysconfig, distutils.sysconfig, distutils.util, and distutils.unixccompiler into a new module _osx_support that can eventually also be used by packaging.
* Closes #15367: Corrected computation of include locations for source builds ↵Vinay Sajip2012-07-161-1/+5
| | | | on Windows. Thanks to Richard Oudkerk for the bug report and patch.
* Closes #15366: Corrected computation of include location for source builds. ↵Vinay Sajip2012-07-161-3/+4
| | | | Thanks to Richard Oudkerk for the bug report and patch.
* Issue #13590: Improve support for OS X Xcode 4:Ned Deily2012-07-162-20/+30
| | | | | | - fix test_distutils and test_sysconfig test failures by aligning sysconfig and distutils.sysconfig tailoring of configure variables (as in 2.7)
* Issue #15315: Support VS 2010 in distutils cygwincompiler.Martin v. Löwis2012-07-101-0/+3
|
* - Issue #14330: For cross builds, don't use host python, use host search pathsdoko@ubuntu.com2012-06-301-0/+4
| | | | for host compiler.
* Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
|\ | | | | | | Patch by Jakub Wilk.
| * Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
| | | | | | | | Patch by Jakub Wilk.
| * Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-261-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile.
* | Bump version to 3.3.0b1.v3.3.0b1Georg Brandl2012-06-261-1/+1
| |
* | Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-251-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile.
* | Issue #13590: Improve support for OS X Xcode 4:Ned Deily2012-06-232-37/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Try to avoid building Python or extension modules with problematic llvm-gcc compiler. - Since Xcode 4 removes ppc support, extension module builds now check for ppc compiler support and automatically remove ppc and ppc64 archs when not available. - Since Xcode 4 no longer install SDKs in default locations, extension module builds now revert to using installed headers and libs if the SDK used to build the interpreter is not available. - Update ./configure to use better defaults for universal builds; in particular, --enable-universalsdk=yes uses the Xcode default SDK and --with-universal-archs now defaults to "intel" if ppc not available.
* | Bump version to 3.3.0a4.v3.3.0a4Georg Brandl2012-05-301-1/+1
| |
* | Merge from 3.2Nick Coghlan2012-05-281-1/+2
|\ \ | |/
| * Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-281-1/+2
| |
| * Merge 3.2.3 release clone.Georg Brandl2012-04-111-1/+1
| |\
| | * Bump to 3.2.3 final.Georg Brandl2012-04-101-1/+1
| | |
| * | Merge 3.2.3rc2 from release clone.Georg Brandl2012-03-181-1/+1
| |\ \ | | |/
| | * Bump to 3.2.3rc2.v3.2.3rc2Georg Brandl2012-03-181-1/+1
| | |
| | * Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-48/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 0a94e2f807c7 and 90b30d62caf2 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.
* | | Fixed _sys_home computation and added diagnostics for Windows buildbot failures.Vinay Sajip2012-05-271-0/+2
| | |
* | | Addressed some buildbot errors and comments on the checkin by Antoine on ↵Vinay Sajip2012-05-261-1/+2
| | | | | | | | | | | | python-dev.
* | | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-13/+27
| | |
* | | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-133-1/+1
| | |
* | | Bump to 3.3.0a3.Georg Brandl2012-05-011-1/+1
| | |
* | | Bump to 3.3.0a2.v3.3.0a2Georg Brandl2012-04-011-1/+1
| | |
* | | Merge 3.2Éric Araujo2012-03-072-10/+1
|\ \ \ | |/ /
| * | Backout buggy patch committed for #13719Éric Araujo2012-03-072-10/+1
| | |
* | | Merge 3.2Éric Araujo2012-03-051-0/+1
|\ \ \ | |/ /
| * | Fix NameError from #13719 fixÉric Araujo2012-03-051-0/+1
| | |
* | | Merge 3.2Éric Araujo2012-03-052-6/+14
|\ \ \ | |/ /
| * | Make distutils’ upload command work with bdist_msi products (#13719).Éric Araujo2012-03-052-6/+14
| | | | | | | | | | | | Patch by Ralf Schmitt.
* | | Bump to 3.3.0a1.Georg Brandl2012-03-041-1/+1
| | |
* | | Merge 3.2Éric Araujo2012-02-261-1/+2
|\ \ \ | |/ /
| * | Set archive format explicitly in one distutils testÉric Araujo2012-02-261-1/+2
| | |
* | | Merge 3.2Éric Araujo2012-02-253-48/+131
|\ \ \ | |/ /
| * | Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-48/+131
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 0a94e2f807c7 and 90b30d62caf2 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.
| * Bump version to 3.2.3rc1.Georg Brandl2012-02-231-1/+1
| |
* | Merge fix from 3.2Éric Araujo2012-02-151-1/+2
|\ \ | |/
| * Fix test failure for shared builds caused by #1326113 fixÉric Araujo2012-02-151-1/+2
| |
* | Merge fixes for #1326113 and #12297 from 3.2Éric Araujo2012-02-152-8/+7
|\ \ | |/
| * Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-152-8/+7
| |
* | Merge fixes for #13193 and FAQ from 3.2Éric Araujo2012-02-121-4/+2
|\ \ | |/
| * Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-4/+2
| | | | | | | | | | | | | | | | 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 0a94e2f807c7 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.
* | Issue #13590: mergeNed Deily2012-02-101-1/+32
|\ \ | |/
| * Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, buildingNed Deily2012-02-101-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-052-0/+21
|\ \ | |/