Skip to content

Commit

Permalink
To be deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet committed Jun 2, 2022
1 parent 960f318 commit cf9ac53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def find_library(name, vision_include):
for folder in vision_include + package_path:
candidate_path = os.path.join(folder, library_header)
library_found = os.path.exists(candidate_path)
print(f"candidate_path={candidate_path} library_found={library_found}")
if library_found:
break

Expand All @@ -99,6 +100,7 @@ def find_library(name, vision_include):
lib_folder = os.path.join(build_prefix, "lib")
library_header_path = os.path.join(include_folder, library_header)
library_found = os.path.isfile(library_header_path)
print(f"is_couda_build={is_conda_build} library_header_path={library_header_path} library_found={library_found}")
conda_installed = library_found
else:
# Check if using Anaconda to produce wheels
Expand All @@ -116,6 +118,7 @@ def find_library(name, vision_include):
include_folder = os.path.join(env_path, "include")
library_header_path = os.path.join(include_folder, library_header)
library_found = os.path.isfile(library_header_path)
print(f"is_conda_build={is_conda_build} library_header_path={library_header_path} library_found={library_found}")
conda_installed = library_found

if not library_found:
Expand Down

0 comments on commit cf9ac53

Please sign in to comment.