Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aschnell:boost
python-python-poppler
use-system-pybind11.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-system-pybind11.patch of Package python-python-poppler
diff --git a/CMakeLists.txt b/CMakeLists.txt index 936467d..0f97a75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,8 @@ list(APPEND Targets "page_renderer" "page_transition") list(APPEND Targets "embedded_file" "destination" "toc" "font") -# find_package(pybind11) -add_subdirectory(pybind11) +find_package(pybind11) +# add_subdirectory(pybind11) find_package(PkgConfig REQUIRED) diff --git a/setup.py b/setup.py index c1ba5f6..34f6ac3 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ class CMakeBuild(build_ext): cmake_args = [ "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + extdir, "-DPYTHON_EXECUTABLE=" + sys.executable, + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", ] cfg = "Debug" if self.debug else "Release" @@ -65,9 +66,13 @@ class CMakeBuild(build_ext): ) if not os.path.exists(self.build_temp): os.makedirs(self.build_temp) + from pprint import pformat + print("Env: {}\n".format(pformat(env))) + print("Run: {} in {}\n".format(["cmake", ext.sourcedir] + cmake_args, self.build_temp)) subprocess.check_call( ["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env ) + print("Run: {} in {}\n".format(["cmake", "--build", "."] + build_args, self.build_temp)) subprocess.check_call( ["cmake", "--build", "."] + build_args, cwd=self.build_temp )
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