mod_python icon indicating copy to clipboard operation
mod_python copied to clipboard

Detect setuptools in configure

Open micwoj92 opened this issue 1 year ago • 0 comments

As example with python 3.12 configure script passes, but later running make fails with:

/usr/bin/python setup.py build
Traceback (most recent call last):
  File "/build/mod_python/src/mod_python-b068800c425e00ca447de8bbe664650fedaf3b4a/dist/setup.py", line 21, in <module>
    from setuptools import setup, Extension
ModuleNotFoundError: No module named 'setuptools'
make[1]: *** [Makefile:25: build] Error 1
make[1]: Leaving directory '/build/mod_python/src/mod_python-b068800c425e00ca447de8bbe664650fedaf3b4a/dist'
make: *** [Makefile:35: do_dso] Error 2

In my opinion this should be detected and fail in configure.

micwoj92 avatar Nov 25 '24 22:11 micwoj92