Skip to content

Commit

Permalink
Update exiv2 dependency to v0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 20, 2023
1 parent 4d064c3 commit 247eec1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,12 @@ def configure_cmake(self, extension: Pybind11Extension):
except DistutilsExecError:
print("Failed at CMake config time")
raise

finally:
cmake_cache = os.path.join(dep_build_path, "CMakeCache.txt")
assert os.path.exists(cmake_cache)
print(cmake_cache)
with open(cmake_cache, "r", encoding="utf-8") as f:
print(f.read())
def find_target(self, target_name: str, build_type=None) -> Optional[str]:
for f in os.scandir(os.path.join(self.cmake_api_dir, "reply")):
if f"target-{target_name}-" not in f.name:
Expand Down Expand Up @@ -291,12 +296,6 @@ def build_cmake(self, extension: Pybind11Extension):
except DistutilsExecError:
print(f"Conan failed when running {build_command}", file=sys.stderr)
raise
finally:
cmake_cache = os.path.join(dep_build_path, "CMakeCache.txt")
assert os.path.exists(cmake_cache)
print(cmake_cache)
with open(cmake_cache, "r", encoding="utf-8") as f:
print(f.read())

def build_install_cmake(self, extension: Pybind11Extension):
dep_build_path = os.path.join(self.build_temp, "deps")
Expand Down

0 comments on commit 247eec1

Please sign in to comment.