Commit Graph

2050 Commits

Author SHA1 Message Date
Serhiy Storchaka ef2462ea3f Restore old distutils logging threshold after running test_log. 2015-11-12 13:15:56 +02:00
Serhiy Storchaka fda7fe0148 Restore old distutils logging threshold after running test_log. 2015-11-12 13:15:41 +02:00
Martin Panter e56a919100 Issue #25523: Merge a-to-an corrections from 3.5 2015-11-02 04:27:17 +00:00
Martin Panter 2eb819f7a8 Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
Martin Panter 7462b64911 Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Steve Dower f536386ca9 Issue #25316: distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed. 2015-10-05 10:35:19 -07:00
Steve Dower f0ccf02e56 Issue #25316: distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed. 2015-10-05 10:35:00 -07:00
Jason R. Coombs edc4b2fa67 Issue #12285: Replace implementation of findall with implementation from Setuptools 7ce820d524db. 2015-09-19 18:12:15 +02:00
Benjamin Peterson 70343bf47d merge 3.5 (#25076) 2015-09-12 17:21:24 -07:00
Benjamin Peterson f07422c025 merge 3.4 2015-09-12 17:21:16 -07:00
Benjamin Peterson 4019852bfc fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07:00
Larry Hastings 334b4a3403 Merge from 3.5. 2015-09-09 07:00:54 -07:00
Larry Hastings 52e40cd9ec Whitespace fixes to make the commit hook on hg.python.org happy. 2015-09-09 06:54:57 -07:00
Steve Dower bf74f37e70 Moves distutils test import within skippable class. 2015-09-08 23:42:51 -07:00
Steve Dower fcbe1df4af Issue #25027: Reverts partial-static build options and adds vcruntime140.dll to Windows installation. 2015-09-08 21:39:01 -07:00
Jason R. Coombs 1a04c447c9 Sort result to avoid spurious errors due to order. 2015-08-30 14:05:58 -04:00
Jason R. Coombs a2cf2292a2 Add docstring and additional test revealing nuances of the implementation as found in setuptools. 2015-09-19 17:32:51 +02:00
Jason R. Coombs 2c5278ad30 Add another test capturing the basic discovery expectation. 2015-08-30 13:26:48 -04:00
Jason R. Coombs a0c6c1c659 Issue #12285: Add test capturing failure. 2015-08-30 13:22:56 -04:00
Jason R. Coombs fa5e7cf997 Use modern mechanism for test discovery 2015-08-30 13:13:11 -04:00
Steve Dower 9548f1ee38 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:43 -07:00
Steve Dower 917c2c3654 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:26 -07:00
Steve Dower 3a7ffa7474 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:03 -07:00
Steve Dower 61ddabab49 Issue #24798: _msvccompiler.py doesn't properly support manifests 2015-08-07 14:36:02 -07:00
Steve Dower d66f43d391 Merge with 3.5 2015-08-05 11:49:20 -07:00
Steve Dower cedef652fa Rebuild wininst-14.0[-amd64].exe with updated tools. 2015-08-05 11:48:14 -07:00
Steve Dower 31202eaa5c Issue #24798: _msvccompiler.py doesn't properly support manifests 2015-08-05 11:39:19 -07:00
Steve Dower e63a329c18 Update default msvccompiler link options to match the options used for core builds. 2015-07-30 11:51:30 -07:00
Steve Dower b465cb50de Update default msvccompiler link options to match the options used for core builds.
This ensures that wheels will work when moved to machines that have the same subset of the MSVC libraries as a regular CPython install. Specifically, vcruntime##0.dll may not be installed, and should not be a dependency.
2015-07-30 11:51:06 -07:00
Robert Collins c6d9228290 Issue #23426: run_setup was broken in distutils.
Patch from Alexander Belopolsky.
2015-07-28 15:55:07 +12:00
Benjamin Peterson 09479d0b94 merge 3.4 2015-05-25 21:25:09 -05:00
Benjamin Peterson 82d8f06fcd merge 3.3 2015-05-25 21:24:48 -05:00
Benjamin Peterson 86c3a3b0b7 merge 3.2 2015-05-25 21:24:26 -05:00
Benjamin Peterson b03856ab66 keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
Larry Hastings 205acde55e Version bump for 3.5.0b1. 2015-05-23 17:43:05 -07:00
Steve Dower c70908558d Issue #23970: Fixes bdist_wininst not working on non-Windows platform. 2015-05-23 12:15:57 -07:00
Steve Dower fd3664be00 Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions. 2015-05-23 09:02:50 -07:00
Serhiy Storchaka e98209c2b4 Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
2015-05-20 16:10:04 +03:00
Serhiy Storchaka f7e39387b3 Fixed issue #16314 test for the case when lzma is not available. 2015-05-17 02:23:02 +03:00
Serhiy Storchaka b9cec6a30f Issue #16314: Added support for the LZMA compression in distutils. 2015-05-16 22:13:27 +03:00
Larry Hastings 55907f45bb Version number bump for Python 3.5.0a4. 2015-04-19 13:51:40 -07:00
Brett Cannon f299abdafa Issue #23731: Implement PEP 488.
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Serhiy Storchaka 7e7a3dba5f Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:24:41 +03:00
Serhiy Storchaka 2116b12da5 Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:29:28 +03:00
Larry Hastings 02d1db9f46 Release bump for Python 3.5.0a3. 2015-03-29 15:34:26 -07:00
Larry Hastings 6003ac5267 Release bump for 3.5.0a2. 2015-03-08 00:24:34 -08:00
Steve Dower 17be514d0a Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00
Larry Hastings b06f142f5f Release bump for 3.5.0a1. 2015-02-07 16:00:55 -08:00
Charles-François Natali 6e6c59b508 Issue #23285: PEP 475 -- Retry system calls failing with EINTR. 2015-02-07 13:27:50 +00:00
Serhiy Storchaka 08448a1f4d Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
2015-01-31 12:05:05 +02:00
Benjamin Peterson 71f1c5c496 merge 3.4 (#23063) 2015-01-15 00:00:16 -05:00
Benjamin Peterson 562b7cbff9 fix parsing reST with code or code-block directives (closes #23063)
Patch by Marc Abramowitz.
2015-01-14 23:56:35 -05:00
Benjamin Peterson 610bc6a211 merge 3.4 (#23221) 2015-01-13 09:20:31 -05:00
Benjamin Peterson 82f34ada45 fix instances of consecutive articles (closes #23221)
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Steve Dower 09bd9ec9b3 Fixes distutils adding/expecting too many _d suffixes. 2014-12-15 20:45:23 -08:00
Steve Dower 1f6c29a914 Removes bdist_wininst dependency on MFC. 2014-12-15 15:03:44 -08:00
Steve Dower 65e4cb10d9 Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release. 2014-11-22 12:54:57 -08:00
Antoine Pitrou aea7f4a8e2 Issue #8876: distutils now falls back to copying files when hard linking doesn't work.
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:38:33 +01:00
Antoine Pitrou ed14c86fac Issue #8876: distutils now falls back to copying files when hard linking doesn't work.
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
Georg Brandl 18e897250a Bump to 3.3.6 2014-10-12 09:03:40 +02:00
Georg Brandl 439d88542e Bump to 3.2.6 2014-10-12 08:50:38 +02:00
Larry Hastings 2ce95d7b7c Merge from 3.4.2 release head back into 3.4 mainline. 2014-10-08 02:50:50 -07:00
Larry Hastings dbb126103e Release bump for 3.4.2 final. 2014-10-05 19:05:50 -07:00
Georg Brandl e800a0e1c2 Bump to 3.2.6rc1 2014-10-04 14:15:42 +02:00
Georg Brandl 76e73f85a3 Bump to 3.3.6rc1 2014-10-04 14:22:11 +02:00
doko@ubuntu.com 9816619c5b - Issue #17219: Add library build dir for Python extension cross-builds. 2014-10-02 02:12:34 +02:00
doko@ubuntu.com cef3bdc01d - Issue #17219: Add library build dir for Python extension cross-builds. 2014-10-02 02:10:47 +02:00
R David Murray 5a789f7eaf Merge: #22512: move distutils rpm test's .rpmdb to testing tmpdir. 2014-09-30 20:53:55 -04:00
R David Murray e6edc03a61 #22512: move distutils rpm test's .rpmdb to testing tmpdir.
Patch by Francis MB.
2014-09-30 20:53:21 -04:00
Antoine Pitrou afa3153b27 Remove pointless "vile hack" that can cause the build step to fail when some extension modules can't be imported.
See issue #5309 for the build failures, issue #458343 for the original motivation.
2014-09-30 14:58:22 +02:00
R David Murray c081262be6 #10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
2014-09-28 11:01:42 -04:00
R David Murray 623ae29469 #10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
2014-09-28 11:01:11 -04:00
R David Murray 3a54c3e3aa Merge: #10510: make distuitls upload/register use HTML standards compliant CRLF. 2014-09-27 16:57:51 -04:00
R David Murray 9ce69672f3 #10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Antoine Pitrou 2c0a916061 Issue #5309: distutils' build and build_ext commands now accept a ``-j``
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02:00
Larry Hastings 03776e33a9 Bump version number for 3.4.2rc1 release. 2014-09-21 00:09:56 +01:00
Benjamin Peterson e22735036b merge 3.4 2014-09-20 11:53:27 -04:00
Benjamin Peterson 9833fcbca3 use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function 2014-09-20 11:53:12 -04:00
Benjamin Peterson 238f5aa6a5 merge 3.4 (#22349) 2014-09-06 17:24:35 -04:00
Benjamin Peterson df0eb95b57 remove various dead version checks (closes #22349)
Patch from Thomas Kluyver.
2014-09-06 17:24:12 -04:00
Jason R. Coombs 311321edc1 #22315: Use advertised API for OSError 2014-08-31 17:42:20 -04:00
Jason R. Coombs d28c5f00ef #22315: Use an existent directory for 'src' to trigger appropriate behavior. 2014-08-31 17:51:22 -04:00
Jason R. Coombs 47f44c9309 #22315: Provide an actual directory during test invocation. 2014-08-31 17:37:35 -04:00
Jason R. Coombs e572ce3fb5 #22315: Use technique outlined in test_file_util 2014-08-31 17:31:32 -04:00
Jason R. Coombs 4b02e7041c #22315: Add test to capture the failure. 2014-08-31 15:02:42 -04:00
Jason R. Coombs 1be2e82c57 Correct indent 2014-08-31 15:00:47 -04:00
Jason R. Coombs b4efbe8a58 Remove unused import 2014-08-31 13:43:02 -04:00
Jason R. Coombs 71a8eed615 Merge with 3.4; Closes #22315 2014-08-31 18:02:18 -04:00
Benjamin Peterson c49a6aa1f0 merge 3.4 2014-08-31 17:22:27 -04:00
Berker Peksag 0dc10e0d1c Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
2014-08-29 07:09:25 +03:00
Berker Peksag 6685883c02 Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
2014-08-29 07:07:35 +03:00
Benjamin Peterson c5847414f9 merge 3.4 (closes #22200) 2014-08-17 23:01:33 -05:00
Benjamin Peterson 0c56bb97ea remove 2.2 and 2.6 compat code (closes #22200)
Patch from Thomas Kluyver.
2014-08-17 23:00:42 -05:00
Serhiy Storchaka 521e5860a5 Issue #22032: __qualname__ instead of __name__ is now always used to format
fully qualified class names of Python implemented classes.
2014-07-22 15:00:37 +03:00
Ned Deily 7447edbc9e Issue #21923: merge from 3.4 2014-07-06 16:17:45 -07:00
Ned Deily 7bc5fb6916 Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.
2014-07-06 16:14:33 -07:00
Jason R. Coombs 7c45632f6d Normalize style per PEP-8 2014-07-02 08:36:19 -04:00
Ned Deily ce38f24af8 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:42:22 -07:00
Ned Deily 04cdfa1147 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
Antoine Pitrou 41dcf35c26 Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:09:11 -04:00
Antoine Pitrou 2e4d3b133a Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Larry Hastings fc8eda5ad8 Release bump for 3.4.3 final. 2015-02-22 23:55:39 -08:00
Larry Hastings e5529063b2 Version bump for 3.4.3rc1. 2015-02-07 16:00:45 -08:00
Larry Hastings 5c26a8afbb Version bump for 3.4.1. 2014-05-17 21:46:35 -07:00
Larry Hastings 3a260d228b Merge. 2014-05-17 21:05:10 -07:00
Jason R. Coombs 09122f84fc Reindent long line 2014-05-10 13:24:58 -04:00
Jason R. Coombs 0375653371 Replace overly-aggressive comparison for type equality with an isinstance check. 2014-05-10 13:24:18 -04:00
Jason R. Coombs a384652d6d Drop support for Python 2.4 in upload command. 2014-05-10 13:22:43 -04:00
Jason R. Coombs 6f71726ecd Replace import * with explicit import 2014-05-10 13:21:02 -04:00
Jason R. Coombs 7ae0fde001 Clean up style in distutils upload command 2014-05-10 13:20:28 -04:00
doko@ubuntu.com 4ce74dc54c - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 13:08:51 +02:00
doko@ubuntu.com e5de66eaa7 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 12:57:44 +02:00
doko@ubuntu.com 8577e5ae09 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 04:44:42 +02:00
Larry Hastings 95e0b0d1d0 Version bump for 3.4.1rc1. 2014-05-04 05:06:24 -07:00
Giampaolo Rodola' 4a692ce5ec Minor cosmetic enhancement to provide a more readable repr()esentation of Extension instances:
- <distutils.extension.Extension at 0x2b2088b79b00>
+ <distutils.extension.Extension('_struct') at 0x2b2088b79b00>
2014-03-27 14:14:16 +01:00
Victor Stinner a69f0f94d3 (Merge 3.4) Issue #20978: pyflakes: fix undefined names; remove last part of
OS/2 support in distutils
2014-03-20 08:51:24 +01:00
Victor Stinner 790bd6dd13 Issue #20978: Remove last part of OS/2 support in distutils 2014-03-20 08:50:33 +01:00
Larry Hastings f5002bd6ac Version bump to 3.5, step 2. 2014-03-16 23:05:59 -07:00
Larry Hastings 3c5c56f3c0 Merged default into 3.4 branch. 3.4 branch is now effectively 3.4.1rc1. 2014-03-16 22:54:05 -07:00
Larry Hastings cf1a3cd2c7 Release bump for 3.4.0 final. 2014-03-15 22:34:24 -07:00
Éric Araujo 45fc8713bd Make distutils error messages more helpful (#11599).
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.
2014-03-13 04:55:35 -04:00
Éric Araujo f1e8c70cf0 Merge 3.3 (#11599) 2014-03-13 05:59:31 -04:00
Éric Araujo a0fe1f74f9 Merge 3.3 (#4931) 2014-03-12 04:10:51 -04:00
Éric Araujo fc773a2d4b Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
Georg Brandl fbd7518a41 Bump to 3.3.5 final. 2014-03-09 09:37:14 +01:00
Larry Hastings d5c59763ad Version bump for 3.4.0rc3. 2014-03-09 04:13:05 -07:00
Georg Brandl c186b23799 Bump to 3.3.5rc2. 2014-03-02 09:19:03 +01:00
Georg Brandl e12675a0f2 Bump to 3.3.5rc1. 2014-02-23 08:30:06 +01:00
Larry Hastings e9f73ac1fd Python 3.4.0rc1: Version bump. 2014-02-10 14:45:05 -08:00
Georg Brandl 8f9c20b8ff merge with 3.3.4 releasing repo 2014-02-10 22:04:20 +01:00
Larry Hastings f34177a6f9 Version bump for Python 3.4.0rc2. 2014-02-23 02:18:24 -06:00
Serhiy Storchaka a26b3f183d Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
2014-02-06 22:52:23 +02:00
Serhiy Storchaka bc27a050a7 Issue #20363. Fixed BytesWarning triggerred by test suite.
Patch by Berker Peksag.
2014-02-06 22:49:45 +02:00
Georg Brandl c81402527a Bump to 3.3.4 final 2014-02-09 08:43:05 +01:00
Stefan Krah 748f40d162 Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC. 2014-01-28 15:04:40 +01:00
Larry Hastings 2d8e1e4f07 Version bump for 3.4.0b3. 2014-01-26 00:48:23 -08:00
Georg Brandl 18f2ce9e7d Bump to 3.3.4rc1. 2014-01-25 09:19:50 +01:00
Larry Hastings a6c55232ab Bump version number for 3.4.0b2. 2014-01-05 04:40:25 -08:00
Zachary Ware bfd488c51f Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound) 2013-12-30 15:09:20 -06:00
Zachary Ware 2ee2c95595 Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound) 2013-12-30 14:39:46 -06:00
Antoine Pitrou 5bf8c3477d Fix bootstrap issue by importing the cgi module lazily 2013-12-22 19:41:31 +01:00
Antoine Pitrou e62a40401d Fix bootstrap issue by importing the cgi module lazily 2013-12-22 19:37:17 +01:00
Antoine Pitrou 20d5adea6a Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:14:56 +01:00
Antoine Pitrou 335a5128e5 Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:13:51 +01:00
Antoine Pitrou e8d07a9885 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:45:42 +01:00
Antoine Pitrou f60b7df9f8 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:35:53 +01:00
Antoine Pitrou 23b8cd963d Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures) 2013-12-22 00:44:28 +01:00
Antoine Pitrou 6783487757 Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures) 2013-12-22 00:44:01 +01:00
Antoine Pitrou 29fd05f900 Issue #20045: Fix "setup.py register --list-classifiers". 2013-12-21 22:59:06 +01:00
Antoine Pitrou 716b7222e9 Issue #20045: Fix "setup.py register --list-classifiers". 2013-12-21 22:57:56 +01:00