    search_python_internal_module(venv)
    # Testing using a vitual environment
    set(VENV_EXECUTABLE ${Python3_EXECUTABLE} -m venv)
--- 
+--
 2.30.1 (Apple Git-130)
-

   "ortools/constraint_solver/*.proto"
@@ -157,8 +153,8 @@ configure_file(
   COPYONLY)
 
 # Look for python module wheel
-search_python_module(setuptools)
-search_python_module(wheel)
+search_python_module(setuptools setuptools)
+search_python_module(wheel wheel)
 
 # Main Target
 add_custom_target(python_package ALL
@@ -178,7 +174,7 @@ add_custom_target(python_package ALL

   COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:sorted_interval_list> ${PYTHON_PROJECT}/util
   #COMMAND ${Python3_EXECUTABLE} setup.py bdist_egg bdist_wheel
-  COMMAND ${Python3_EXECUTABLE} setup.py bdist_wheel
+  COMMAND ${Python3_EXECUTABLE} setup.py sdist
   BYPRODUCTS
     python/${PYTHON_PROJECT}
     python/build
