summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30273: update distutils.sysconfig for venv's created from Python (#1515) ↵Victor Stinner2017-05-171-5/+2
| | | | | | (#1626) compiled out-of-tree (builddir != srcdir). (see also bpo-15366) (cherry picked from commit dbdea629e2e0e4bd8845aa55041e0a0ca4172cf3)
* bpo-23404: make touch becomes make regen-all (#1405) (#1461) (#1465)Victor Stinner2017-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca) (cherry picked from commit 9d02f562961efd12d3c8317a10916db7f77330cc)
* bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387) (#1388)Victor Stinner2017-05-021-0/+7
| | | | | | | | | | | | BuildExtTestCase of test_distutils now uses support.temp_cwd() in setUp() to remove files created in the current working in all BuildExtTestCase unit tests, not only test_build_ext(). Fix the following warning: Warning -- files was modified by test_distutils Before: [] After: ['vc140.pdb'] (cherry picked from commit 30768958490c658fba0fe24f1cabbdad44be22ff)
* Fix spelling and grammar in code comments and documentationMartin Panter2016-12-181-1/+1
|
* Issue #26071: Fixes preprocessor definition and rebuilds ↵Steve Dower2016-12-132-0/+0
| | | | wininst-14.0[-amd64].exe
* Some distutils tests require zlib for creating tar.gz source distribution.Serhiy Storchaka2016-10-231-3/+3
|
* Issue #28222: Don't fail if pygments is not availableBerker Peksag2016-10-041-2/+14
| | | | | | We can't just skip the test if docutils is available, but pygments is not because the purpose of the test was testing a bug in _check_rst_data().
* build_ext: correctly parse the link_objects user option (closes #1703178)Benjamin Peterson2016-09-292-0/+8
| | | | Patch by Valerie Lambert.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
|
* Merge backout for test suite fixJason R. Coombs2016-09-021-2/+9
|\
| * Backed out changeset cc86e9e102e8Jason R. Coombs2016-09-021-2/+9
| |
* | Issue #12285: Merge with 3.4Jason R. Coombs2016-09-022-31/+59
|\ \ | |/
| * Issue #12285: Replace implementation of findall with implementation from ↵Jason R. Coombs2015-09-191-27/+21
| | | | | | | | Setuptools 7ce820d524db.
| * Sort result to avoid spurious errors due to order.Jason R. Coombs2015-08-301-2/+2
| |
| * Add docstring and additional test revealing nuances of the implementation as ↵Jason R. Coombs2015-09-191-0/+16
| | | | | | | | found in setuptools.
| * Add another test capturing the basic discovery expectation.Jason R. Coombs2015-08-301-0/+11
| |
| * Issue #12285: Add test capturing failure.Jason R. Coombs2015-08-301-0/+10
| |
| * Use modern mechanism for test discoveryJason R. Coombs2015-08-301-5/+2
| |
* | Merge 3.4Donald Stufft2016-08-033-6/+6
|\ \ | |/
| * Merge 3.3Donald Stufft2016-08-033-5/+5
| |\
| | * Switch upload.pypi.io to upload.pypi.orgDonald Stufft2016-08-033-4/+4
| | |
| | * Switch to the new upload url for PyPIDonald Stufft2016-07-063-4/+4
| | |
* | | Issue #20767: Fix -R option for FreeBSD/clang.Stefan Krah2016-08-031-0/+2
| | |
* | | English spelling and grammar fixesMartin Panter2016-07-111-1/+1
| | |
* | | Fix a test with the new upload URLDonald Stufft2016-07-061-1/+1
| | |
* | | merge 3.4Benjamin Peterson2016-07-063-5/+5
|\ \ \ | |/ /
| * | Switch to the new upload url for PyPIDonald Stufft2016-07-063-5/+5
| | |
* | | Make PyPIRCCommandTestCase derive from a base classBerker Peksag2016-06-244-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several test cases in distutils use PyPIRCCommandTestCase as their base class and as a result of that the following tests were ran more than once: * test_server_registration * test_server_empty_registration * test_config_interpolation This commit moves the infrastructure used by other tests into a new BasePyPIRCCommandTestCase class.
* | | Issue #20120: Add a test case to verify the % char can be used in .pypircBerker Peksag2016-06-201-0/+19
| | | | | | | | | | | | | | | I noticed that there is no test for this feature while doing triaging work on pypa/pypi-legacy.
* | | Issue #27349: Fix typo in distutils upload commandBerker Peksag2016-06-182-2/+3
| | |
* | | Issue #27048: Prevents distutils failing on Windows when environment ↵Steve Dower2016-06-172-4/+20
| | | | | | | | | | | | variables contain non-ASCII characters
* | | Issue #20900: distutils register command now decodes HTTP responses correctlyBerker Peksag2016-06-103-4/+18
| | | | | | | | | | | | Initial patch by ingrid.
* | | - Issue #26884: Fix linking extension modules for cross builds.doko@ubuntu.com2016-06-041-1/+1
| | | | | | | | | | | | Patch by Xavier de Gaye.
* | | Issue #21776: distutils.upload now correctly handles HTTPErrorBerker Peksag2016-06-022-8/+37
| | | | | | | | | | | | Initial patch by Claudiu Popa.
* | | Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
| | |
* | | Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-262-2/+2
| | | | | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | | Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for ↵Jason R. Coombs2016-05-041-2/+2
| | | | | | | | | | | | interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
* | | Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.Ned Deily2016-02-242-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of Xcode 7, SDKs for Apple platforms now include textual-format stub libraries whose file names have a .tbd extension rather than the standard OS X .dylib extension. The Apple compiler tool chain handles these stub libraries transparently and the installed system shared libraries are still .dylibs. However, the new stub libraries cause problems for third-party programs that support building with Apple SDKs and make build-time decisions based on the presence or paths of system-supplied shared libraries in the SDK. In particular, building Python itself with an SDK fails to find system-supplied libraries during setup.py's build of standard library extension modules. The solution is to have find_library_file() in Distutils search for .tbd files, along with the existing types (.a, .so, and .dylib). Patch by Tim Smith.
* | | Issue #26071: bdist_wininst created binaries fail to start and find 32bit PythonSteve Dower2016-01-162-0/+0
| | |
* | | Issue #25850: Use cross-compilation by default for 64-bit Windows.Steve Dower2016-01-161-16/+5
| | |
* | | Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-122-0/+4
|\ \ \ | |/ / | | | | | | parse command line arguments.
| * | Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-122-0/+4
| | | | | | | | | | | | parse command line arguments.
* | | Restore old distutils logging threshold after running test_log.Serhiy Storchaka2015-11-121-1/+2
|\ \ \ | |/ /
| * | Restore old distutils logging threshold after running test_log.Serhiy Storchaka2015-11-121-1/+2
| | |
* | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-3/+3
|\ \ \ | |/ /
| * | Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-3/+3
| | | | | | | | | | | | | | | | | | 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.
* | | Issue #25316: distutils raises OSError instead of DistutilsPlatformError ↵Steve Dower2015-10-051-8/+10
| | | | | | | | | | | | when MSVC is not installed.
* | | merge 3.4Benjamin Peterson2015-09-131-1/+1
|\ \ \ | |/ /
| * | fix name of argument in docstring and the docs (closes #25076)Benjamin Peterson2015-09-131-1/+1
| | | | | | | | | | | | Patch by TAKASE Arihiro.
* | | Whitespace fixes to make the commit hook on hg.python.org happy.Larry Hastings2015-09-092-3/+3
| | |