[PATCH gnupgpy 3/5] build: Drop distutils from setup.py

lucc at posteo.de lucc at posteo.de
Sun Mar 23 23:49:09 CET 2025


* setup.py.in: Drop fallback code for distutils in case setuptools is
not available
--

We are now using the pyproject.toml file to statically declare our build
time dependencies.  This ensures that a compatible version of setuptools
should be available by the time the setup.py file is executed.  For that
reason we do not need the fallback code any longer.

Also order imports according to PEP-8 and drop unused "glob" import.

Signed-off-by: Lucas Hoffmann <lucc at posteo.de>
---
 setup.py.in | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-build-Drop-distutils-from-setup.py.patch
Type: text/x-patch
Size: 786 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250323/6e4447b7/attachment.bin>


More information about the Gnupg-devel mailing list