Jon Dufresne
3972628de3
bpo-30296 Remove unnecessary tuples, lists, sets, and dicts ( #1489 )
...
* Replaced list(<generator expression>) with list comprehension
* Replaced dict(<generator expression>) with dict comprehension
* Replaced set(<list literal>) with set literal
* Replaced builtin func(<list comprehension>) with func(<generator
expression>) when supported (e.g. any(), all(), tuple(), min(), &
max())
2017-05-18 07:35:54 -07:00
Jeremy Kloth
dbdea629e2
bpo-30273: update distutils.sysconfig for venv's created from Python ( #1515 )
...
compiled out-of-tree (builddir != srcdir). (see also bpo-15366)
2017-05-09 17:24:13 +02:00
Victor Stinner
b109a1d336
bpo-30273: Update sysconfig ( #1464 )
...
The AST_H_DIR variable was removed from Makefile.pre.in by the commit
a5c62a8e9f
(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.
2017-05-04 23:29:09 +02:00
Victor Stinner
92fd6c9ef5
bpo-30132: distutils BuildExtTestCase use temp_cwd ( #1380 )
...
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().
Move also tearDown() just after setUp().
2017-05-02 13:11:50 +02:00
Victor Stinner
f6448e5d65
bpo-30132: distutils test_build_ext() uses temp_cwd() ( #1278 )
...
test_build_ext() of test_distutils now uses support.temp_cwd() to
prevent the creation of a pdb file in the current working directory
on Windows.
2017-04-25 02:11:09 +02:00
Ryan Gonzalez
f9f87f0934
bpo-11913: Add README.rst to the distutils standard READMEs list ( #563 )
2017-04-14 11:00:25 +02:00
Berker Peksag
ef158c3ced
Issue #29218 : Remove unused install_misc command
...
It has been documented as unused since 6c6844a2fa30 (2000-05-25)
Patch by Eric N. Vander Weele.
2017-02-01 04:42:48 +03:00
Martin Panter
fc29c88b5f
Issue #28987 : Merge doc and comment fixes from 3.6
2016-12-18 05:41:55 +00:00
Martin Panter
fff07e34fa
Merge spelling and grammar from 3.5
2016-12-18 05:37:21 +00:00
Martin Panter
2f9171d900
Fix spelling and grammar in code comments and documentation
2016-12-18 01:23:09 +00:00
Steve Dower
e6bb53bf61
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:55 -08:00
Steve Dower
7262b42fd1
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:42 -08:00
Steve Dower
4347881414
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:24 -08:00
Xavier de Gaye
56758354c8
Issue 26931: Merge 3.6
2016-11-17 09:01:58 +01:00
Xavier de Gaye
dfc13e069a
Issue 26931: Skip the test_distutils tests using a compiler executable
...
that is not found
2016-11-17 09:00:19 +01:00
Serhiy Storchaka
c7ede1132e
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:23 +03:00
Serhiy Storchaka
cb637fa231
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:58:06 +03:00
Serhiy Storchaka
0211bb78fd
Some distutils tests require zlib for creating tar.gz source distribution.
2016-10-23 22:56:14 +03:00
Jason R. Coombs
cf99a34867
Make cs_path_exists a protected, static method
2016-10-14 15:41:42 -04:00
Jason R. Coombs
22dd73a74b
Add case-sensitive file comparison for detecting/adding standard default files.
2016-10-14 15:39:01 -04:00
Jason R. Coombs
00e3cea34f
Extract methods from sdist.add_defaults, allowing subclasses to override or inject different behaviors.
2016-10-14 14:53:32 -04:00
Jason R. Coombs
10d5eef8e5
Get names for README files from class attribute, allowing subclass to override.
2016-10-14 14:44:11 -04:00
Jason R. Coombs
c581ce4c81
Replace trailing comments with block-level comments
2016-10-14 14:10:07 -04:00
Jason R. Coombs
7677ff209c
Remove unused import and reorganize imports of modules.
2016-10-14 14:08:28 -04:00
Jason R. Coombs
c9bba2bcc0
Remove wildcard imports from distutils.command.sdist
2016-10-14 14:06:28 -04:00
Berker Peksag
f7b8d5d4eb
Issue #28222 : Merge from 3.6
2016-10-04 20:55:52 +03:00
Berker Peksag
d3dbba4174
Issue #28222 : Merge from 3.5
2016-10-04 20:55:26 +03:00
Berker Peksag
b5bb404cca
Issue #28222 : Don't fail if pygments is not available
...
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().
2016-10-04 20:54:44 +03:00
Zachary Ware
3839d99b79
Issue #13756 : Fix building extensions modules on Cygwin
...
Patch by Roumen Petrov, based on original patch by Jason Tishler.
2016-10-01 16:15:09 -05:00
Benjamin Peterson
095e32bfc5
merge 3.5 ( #1703178 )
2016-09-28 23:17:04 -07:00
Benjamin Peterson
4254e8c548
build_ext: correctly parse the link_objects user option ( closes #1703178 )
...
Patch by Valerie Lambert.
2016-09-28 23:13:58 -07:00
Xavier de Gaye
92dec548ff
Issue #28046 : get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME
...
environment variable that is defined when cross-compiling.
2016-09-11 22:22:24 +02:00
Serhiy Storchaka
bd48d27944
Issue #22493 : Inline flags now should be used only at the start of the
...
regular expression. Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Zachary Ware
80da993826
Issue #28046 : Fix distutils
...
Why do we have two sysconfig modules again?
2016-09-09 18:29:10 -07:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Jason R. Coombs
b44c849de4
Merge backout for test suite fix
2016-09-01 21:59:46 -04:00
Jason R. Coombs
8ac147d6ee
Backed out changeset cc86e9e102e8
2016-09-01 21:55:22 -04:00
Jason R. Coombs
65e3319283
Issue #12285 : Merge with 3.4
2016-09-01 21:15:04 -04:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Jason R. Coombs
9650b19212
Merge backout for test suite fix
2016-09-01 22:00:03 -04:00
Jason R. Coombs
75fbf87d73
Issue #12885 : Merge with 3.5
2016-09-01 21:16:32 -04:00
Jason R. Coombs
5c071c1ff4
Issue #27919 : Deprecate extra_path option in distutils.
2016-09-01 13:55:33 -04:00
R David Murray
8890bb2264
#27904 : fix distutils tests.
...
Patch by Ville Skyttä.
2016-08-31 11:39:35 -04:00
Vinay Sajip
dd917f84e3
Closes #27904 : Improved logging statements to defer formatting until needed.
2016-08-31 08:22:29 +01:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
Jason R. Coombs
a47ca08a36
Issue #27819 : Simply default to gztar for sdist formats by default on all platforms.
2016-08-20 17:31:07 -04:00
Donald Stufft
2af36ac04f
Merge 3.5
2016-08-03 18:49:46 -04:00
Donald Stufft
ef330d35c8
Merge 3.4
2016-08-03 18:49:19 -04:00
Donald Stufft
c6c2217f27
Merge 3.3
2016-08-03 18:48:17 -04:00
Donald Stufft
fb7929044a
Switch upload.pypi.io to upload.pypi.org
2016-08-03 18:43:38 -04:00