setup.py allows fallback to setup from distutils.core instead of setuptools but then fails on install phase
|Reported by:||bkohler@…||Owned by:||fschwarz|
The setup.py script first calls "from setuptools import setup" but allows fallback to "from distutils.core import setup". When setuptools is missing/broken and it falls back to distutils setup, the install phase seems to fail silently, or at least produce an incomplete result.
I am trying this on Gentoo Linux so my build log is clearly using portage, but I believe this issue affects everyone. During the build phase with distutils setup, some warnings are thrown, then some more warnings during install, and the resulting install dir is very incomplete. There is no /usr/bin/pybabel, for example.
Attached is a diff between the "broken" setup's build/install output, and the "working" setup's build/install output.
Change History (6)
Changed 3 years ago by bkohler@…
comment:1 Changed 3 years ago by fschwarz
- Milestone changed from unscheduled to 1.0
- Owner changed from cmlenz to fschwarz
- Status changed from new to assigned
comment:2 Changed 3 years ago by fschwarz
- Resolution set to wontfix
- Status changed from assigned to closed