distutils
distutils copied to clipboard
distutils as found in cpython
https://github.com/python-pillow/Pillow/issues/7158#issuecomment-1546746716 and https://github.com/pypa/setuptools/blob/e76db4408e40a5c0a218ef6f652454f69c5aca59/setuptools/_distutils/ccompiler.py#L1055-L1058 suggest that Cygwin uses `UnixCCompiler` rather than `CygwinCCompiler` by default, so `UnixCCompiler` would also need to know how to find shared libraries, import libraries, and static libraries...
After doing some more refactoring, I've learned that `find_executable` is very similar to `shutil.which` (similar enough that shutil.which was probably copy-pasted from find_executable). `shutil.which` had evolved PATHEXT searching, so the...
Closes pypa/distutils#249.
Ref pypa/setuptools#3593 and pypa/setuptools#4286. - **Support PEP 625** - **Expect to find canonicalize_* functions in packaging.** - **Update tests to match new expectation.** - **Fix canonicalization** - **In test_sdist, provide...
- **ENH: Extension should be able to accept PathLike sources objects** - **Adjust expectation to match behavior.** - **For consistency, ensure Extension.sources is always a path.Path object.** This PR is...
Upstreamed fix from nix, see patch here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/setuptools/setuptools-distutils-C%2B%2B.patch Resubmit of #221.
See individual commits for details on what this PR changes. A new version of https://github.com/pypa/distutils/pull/78 Fixes https://github.com/pypa/distutils/issues/34 cc @lazka
Last of the patches from #73 Might close pypa/setuptools#3257 *Might* also close pypa/setuptools#3450, depending on what the actual problem looks like Dual purposes here: - On platforms like Windows or...
### setuptools version 63.2.0 ### Python version Python 3.9.10 ### OS Cygwin on Windows 10 ### Additional environment information _No response_ ### Description I have installed Python 3.9, pip, setuptools...
According to its documentation, `Distribution._show_help` operates on its `commands` argument: https://github.com/pypa/distutils/blob/38b58a5b3fc343aebdb08f46089049780de4dc44/distutils/dist.py#L624 https://github.com/pypa/distutils/blob/38b58a5b3fc343aebdb08f46089049780de4dc44/distutils/dist.py#L633-L635 However, I don't see `commands` used anywhere. Instead, I see `Distribution._show_help` iterate over its `self.commands` variable: https://github.com/pypa/distutils/blob/38b58a5b3fc343aebdb08f46089049780de4dc44/distutils/dist.py#L658