Bernhard M. Wiedemann
0d30ae1a03
bpo-36302: Sort list of sources (GH-12341)
...
When building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output .so files.
Thus without the patch, builds (in disposable VMs) would usually differ.
Without this patch, all callers have to be patched individually
https://github.com/dugsong/libdnet/pull/42
https://github.com/sass/libsass-python/pull/212
https://github.com/tahoe-lafs/pycryptopp/pull/41
https://github.com/yt-project/yt/pull/2206
https://github.com/pyproj4/pyproj/pull/142
https://github.com/pytries/datrie/pull/49
https://github.com/Roche/pyreadstat/pull/37
but that is an infinite effort.
See https://reproducible-builds.org/ for why this matters.
2019-08-01 15:18:03 +02:00
Victor Stinner
1da4462765
bpo-37481: Deprecate distutils bdist_wininst command (GH-14553)
...
The distutils bdist_wininst command is now deprecated, use
bdist_wheel (wheel packages) instead.
2019-07-05 10:44:12 +02:00
Miro Hrončok
72cd653c4e
bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-14506)
...
bdist_wininst depends on MBCS codec, unavailable on non-Windows,
and bdist_wininst have not worked since at least Python 3.2, possibly
never on Python 3.
Here we document that bdist_wininst is only supported on Windows,
and we mark it unsupported otherwise to skip tests.
Distributors of Python 3 can now safely drop the bdist_wininst .exe files
without the need to skip bdist_wininst related tests.
2019-07-01 14:12:40 +02:00
Marcin Niemira
45a14942c9
bpo-11122: fix hardcoded path checking for rpmbuild in bdist_rpm.py (GH-10594)
2019-06-08 17:05:05 -04:00
E. M. Bray
c994c8fc19
bpo-21536: On Cygwin, C extensions must be linked with libpython (GH-13549)
...
It is also possible to link against a library or executable with a
statically linked libpython, but not both with the same DLL. In fact
building a statically linked python is currently broken on Cygwin
for other (related) reasons.
The same problem applies to other POSIX-like layers over Windows
(MinGW, MSYS) but Python's build system does not seem to attempt
to support those platforms at the moment.
2019-05-24 17:33:47 +02:00
xdegaye
254b309c80
bpo-21536: On Android, C extensions are linked to libpython (GH-12989)
2019-04-29 09:27:40 +02:00
Victor Stinner
8c3ecc6bac
bpo-21536: C extensions are no longer linked to libpython (GH-12946)
...
On Unix, C extensions are no longer linked to libpython.
It is now possible to load a C extension built using a shared library
Python with a statically linked Python.
When Python is embedded, libpython must not be loaded with
RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it
was already not possible to load C extensions which were not linked
to libpython, like C extensions of the standard library built by the
"*shared*" section of Modules/Setup.
distutils, python-config and python-config.py have been modified.
2019-04-25 20:13:10 +02:00
Victor Stinner
0ef8c157e9
bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875)
...
bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is
None or an empty string: use os.getcwd() to initialize project_base.
Fix also the distutils build command: don't use sys.executable if
it's evaluated as false (None or empty string).
2019-04-25 11:59:34 +02:00
Inada Naoki
5909ad1217
fix code styling (GH-12737)
2019-04-09 14:54:30 +09:00
Mickaël Schoentgen
58721a9030
bpo-35416: fix potential resource warnings in distutils (GH-10918)
2019-04-08 22:08:48 +09:00
Philipp A
d5a5a33f12
bpo-31292: Fixed distutils check --restructuredtext for include directives (GH-10605)
2019-03-27 17:34:19 -04:00
Steve Dower
85e102a2b0
bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)
2019-02-04 17:15:13 -08:00
Michael Felt
ed57e13df6
bpo-11191: skip unsupported test_distutils case for AIX with xlc (GH-8709)
...
Command line options for the xlc compiler behave differently from gcc and clang,
so skip this test case for now when xlc is the compiler.
Patch by aixtools (Michael Felt)
2018-12-29 00:03:17 +10:00
Serhiy Storchaka
c5d5dfdb22
bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10921)
2018-12-20 19:00:14 +02:00
Paul Ganssle
4e80f5cbea
bpo-35186: Remove "built with" comment in setup.py upload (GH-10414)
...
platform.dist() is deprecated and slated for removal in Python 3.8. The
upload command itself should also not be used to upload to PyPI, but
while it continues to exist it should not use deprecated functions.
2018-12-17 08:59:02 +01:00
Serhiy Storchaka
34fd4c2019
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
...
Two kind of mistakes:
1. Missed space. After concatenating there is no space between words.
2. Missed comma. Causes unintentional concatenating in a list of strings.
2018-11-05 16:20:25 +02:00
Victor Stinner
fa7dfae317
bpo-34605: Replace "pliant children" with "helpers" (GH-9195)
...
In distutils.command.install, replace "pliant children" (previously,
it was "pliant slaves") with "helpers".
<!-- issue-number: [bpo-34605](https://www.bugs.python.org/issue34605 ) -->
https://bugs.python.org/issue34605
<!-- /issue-number -->
2018-09-11 16:40:06 -07:00
Victor Stinner
7e610bcdf1
bpo-34605: childs => children (GH-9102)
2018-09-07 18:13:10 +02:00
Victor Stinner
5e922658fb
bpo-34605: Avoid master/slave terms (GH-9101)
...
* Replace "master process" with "parent process"
* Replace "master option mappings" with "main option mappings"
* Replace "master pattern object" with "main pattern object"
* ssl: replace "master" with "server"
* And some other similar changes
2018-09-07 17:30:33 +02:00
Éric Araujo
08a6926b25
Improve error message for "setup.py upload" without dist files ( #21060 )
2018-02-18 18:14:54 -05:00
Bo Bayles
2fc98ae115
bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264)
...
Patch by Bo Bayles.
2018-01-25 19:02:03 -05:00
Steve Dower
2507e29a9e
bpo-32588: Move _findvs into its own module and add missing _queue module to installer ( #5227 )
2018-01-19 09:09:36 +11:00
Victor Stinner
9e7c136ad8
bpo-32302: Fix distutils bdist_wininst for CRT v142 ( #4851 )
...
CRT v142 is binary compatible with CRT v140.
2017-12-14 11:39:34 +01:00
Benjamin Peterson
4eaf7f9490
fixes bpo-31866: remove code pertaining to AtheOS support ( #4115 )
...
We stop support this OS in 2007 with commit
19fab761b7
. Let's finish.
2017-10-25 23:55:14 -07:00
Zachary Ware
49ce74efe8
Remove all mention of Windows IA-64 support (GH-3389)
...
It was mostly removed long ago.
2017-09-06 15:45:25 -07:00
Steve Dower
5fcd5e64ee
bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) ( #3311 )
2017-09-06 10:01:38 -07:00
Ryan Gonzalez
f9f87f0934
bpo-11913: Add README.rst to the distutils standard READMEs list ( #563 )
2017-04-14 11:00:25 +02: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
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
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
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
5c071c1ff4
Issue #27919 : Deprecate extra_path option in distutils.
2016-09-01 13:55:33 -04:00
Vinay Sajip
dd917f84e3
Closes #27904 : Improved logging statements to defer formatting until needed.
2016-08-31 08:22:29 +01: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
Berker Peksag
45ff4a5487
Issue #27349 : Merge from 3.5
2016-06-18 21:43:16 +03:00
Berker Peksag
56fe4749fb
Issue #27349 : Fix typo in distutils upload command
2016-06-18 21:42:37 +03:00
Berker Peksag
419e8ede19
Issue #20900 : Merge from 3.5
2016-06-10 23:02:04 +03:00
Berker Peksag
904a2ef2e2
Issue #20900 : distutils register command now decodes HTTP responses correctly
...
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
doko@ubuntu.com
36987d7c8d
- merge 3.5
2016-06-05 00:44:01 +02:00
doko@ubuntu.com
6ada01234d
- Issue #26884 : Fix linking extension modules for cross builds.
...
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00