- 25 May, 2020 2 commits
-
-
Jason R. Coombs authored
-
xoviat authored
-
- 20 May, 2020 1 commit
-
-
Christian Heimes authored
- Fix upload test on systems that blocks MD5 - Add SHA2-256 and Blake2b-256 digests based on new Warehous and twine specs. Signed-off-by: Christian Heimes <christian@python.org>
-
- 15 May, 2020 1 commit
-
-
Victor Stinner authored
distutils.tests now saves/restores warnings filters to leave them unchanged. Importing tests imports docutils which imports pkg_resources which adds a warnings filter.
-
- 30 Apr, 2020 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
- 22 Apr, 2020 1 commit
-
-
Joshua Root authored
It is possible to use either '-isysroot /some/path' (with a space) or '-isysroot/some/path' (no space in between). Support both forms in places where special handling of -isysroot is done, rather than just the first form. Co-authored-by: Ned Deily <nad@python.org>
-
- 03 Apr, 2020 1 commit
-
-
Michael Felt authored
-
- 10 Mar, 2020 1 commit
-
-
Victor Stinner authored
Add --with-platlibdir option to the configure script: name of the platform-specific library directory, stored in the new sys.platlitdir attribute. It is used to build the path of platform-specific dynamic libraries and the path of the standard library. It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit systems. Co-Authored-By: Jan Matějek <jmatejek@suse.com> Co-Authored-By: Matěj Cepl <mcepl@cepl.eu> Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
-
- 04 Mar, 2020 1 commit
-
-
Victor Stinner authored
Reimplement distutils.spawn.spawn() function with the subprocess module. setup.py now uses a basic implementation of the subprocess module if the subprocess module is not available: before required C extension modules are built.
-
- 03 Mar, 2020 1 commit
-
-
Steve Dower authored
-
- 10 Feb, 2020 1 commit
-
-
Hugo van Kemenade authored
-
- 06 Feb, 2020 1 commit
-
-
Steve Dower authored
-
- 04 Feb, 2020 1 commit
-
-
Stefan Behnel authored
bpo-39432: Implement PEP-489 algorithm for non-ascii "PyInit_*" symbol names in distutils (GH-18150) Make it export the correct init symbol also on Windows. https://bugs.python.org/issue39432
-
- 23 Dec, 2019 1 commit
-
-
Jürgen Gmach authored
When checking `setup.py` and when the `author` field was provided, but the `author_email` field was missing, erroneously a warning message was displayed that the `author_email` field is required. The specs do not require the `author_email`field: https://packaging.python.org/specifications/core-metadata/#author The same is valid for `maintainer` and `maintainer_email`. The warning message has been adjusted. modified: Doc/distutils/examples.rst modified: Lib/distutils/command/check.py https://bugs.python.org/issue38914
-
- 15 Dec, 2019 1 commit
-
-
Michael Felt authored
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
-
- 19 Nov, 2019 1 commit
-
-
Adam Johnson authored
-
- 10 Sep, 2019 1 commit
-
-
Steve Dower authored
-
- 28 Aug, 2019 1 commit
-
-
Anonymous Maarten authored
https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp
-
- 08 Aug, 2019 2 commits
-
-
Pablo Galindo authored
-
Serhiy Storchaka authored
They now return NotImplemented for unsupported type of the other operand.
-
- 01 Aug, 2019 1 commit
-
-
Bernhard M. Wiedemann authored
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.
-
- 05 Jul, 2019 1 commit
-
-
Victor Stinner authored
The distutils bdist_wininst command is now deprecated, use bdist_wheel (wheel packages) instead.
-
- 03 Jul, 2019 1 commit
-
-
Victor Stinner authored
test_distutils.test_build_ext() is now able to remove the temporary directory on Windows: don't import the newly built C extension ("xx") in the current process, but test it in a separated process.
-
- 01 Jul, 2019 1 commit
-
-
Miro Hrončok authored
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.
-
- 12 Jun, 2019 1 commit
-
-
Paul Monson authored
-
- 08 Jun, 2019 1 commit
-
-
Marcin Niemira authored
-
- 02 Jun, 2019 1 commit
-
-
Xtreak authored
-
- 24 May, 2019 1 commit
-
-
E. M. Bray authored
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.
-
- 29 Apr, 2019 1 commit
-
-
xdegaye authored
-
- 25 Apr, 2019 3 commits
-
-
Paul Monson authored
-
Victor Stinner authored
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.
-
Victor Stinner authored
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).
-
- 17 Apr, 2019 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
shutil.which() and distutils.spawn.find_executable() now use os.confstr("CS_PATH") if available instead of os.defpath, if the PATH environment variable is not set. Don't use os.confstr("CS_PATH") nor os.defpath if the PATH environment variable is set to an empty string to mimick Unix 'which' command behavior. Changes: * find_executable() now starts by checking for the executable in the current working directly case. Add an explicit "if not path: return None". * Add tests for PATH='' (empty string), PATH=':' and for PATHEXT.
-
- 10 Apr, 2019 1 commit
-
-
Victor Stinner authored
Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler().
-
- 09 Apr, 2019 1 commit
-
-
Inada Naoki authored
-
- 08 Apr, 2019 1 commit
-
-
Mickaël Schoentgen authored
-
- 27 Mar, 2019 1 commit
-
-
Philipp A authored
-
- 18 Mar, 2019 1 commit
-
-
Victor Stinner authored
The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler().
-