Remove unused variable in /setup.py (#2026)

This is a follow up of https://github.com/ml-explore/mlx/pull/2011
This commit is contained in:
Yi Wang 2025-03-30 12:52:33 -07:00 committed by GitHub
parent 13b26775f1
commit 72ca1539e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,10 +59,6 @@ class CMakeBuild(build_ext):
debug = int(os.environ.get("DEBUG", 0)) if self.debug is None else self.debug debug = int(os.environ.get("DEBUG", 0)) if self.debug is None else self.debug
cfg = "Debug" if debug else "Release" cfg = "Debug" if debug else "Release"
# CMake lets you override the generator - we need to check this.
# Can be set with Conda-Build, for example.
cmake_generator = os.environ.get("CMAKE_GENERATOR", "")
# Set Python_EXECUTABLE instead if you use PYBIND11_FINDPYTHON # Set Python_EXECUTABLE instead if you use PYBIND11_FINDPYTHON
# EXAMPLE_VERSION_INFO shows you how to pass a value into the C++ code # EXAMPLE_VERSION_INFO shows you how to pass a value into the C++ code
# from Python. # from Python.