Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ighvh:fedora
mingw-python-pybind11
setuppy.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setuppy.patch of Package mingw-python-pybind11
diff --git a/setup.py b/setup.py index 3a032798..1e5a2f48 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ VERSION_REGEX = re.compile( # files, and the sys.prefix files (CMake and headers). global_sdist = os.environ.get("PYBIND11_GLOBAL_SDIST", False) +cmake = os.environ.get("CMAKE", "cmake") setup_py = "tools/setup_global.py.in" if global_sdist else "tools/setup_main.py.in" extra_cmd = 'cmdclass["sdist"] = SDist\n' @@ -101,7 +102,7 @@ def remove_output(*sources): with remove_output("pybind11/include", "pybind11/share"): # Generate the files if they are not present. with TemporaryDirectory() as tmpdir: - cmd = ["cmake", "-S", ".", "-B", tmpdir] + [ + cmd = [cmake, "-S", ".", "-B", tmpdir] + [ "-DCMAKE_INSTALL_PREFIX=pybind11", "-DBUILD_TESTING=OFF", "-DPYBIND11_NOPYTHON=ON",
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor