Skip to content

Detect setuptools in configure #140

@micwoj92

Description

@micwoj92

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions