-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
The module setuptools.windows_support unconditionally imports "ctypes", even though this module is only used when running on a Windows machine. The result of this is that setuptools is unusable on systems without ctypes (in my case because I'm running macOS on arm64 where the patches needed to get ctypes support haven't been merged yet).
Environment Details
- Operating System and version: macOS 11, arm64
- Python version: 3.10 (trunk)
- Python installed how: Manually
- Virtualenv version (if using virtualenv): n/a
Command(s) that triggered the warning/error (and output):
python setup.py install # for a project using setuptools in its setup.py file
Command(s) used to install setuptools (and output): Setuptools was installed when building python "make install".
Versions:
% pip list
Package Version
---------- -------
pip 20.1.1
setuptools 47.1.0
jwilk
Metadata
Metadata
Assignees
Labels
No labels