Skip to content

Commit d3bea32

Browse files
committed
Revert Python3 Executable
1 parent 7eec9fe commit d3bea32

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

oiio_python/recipes/openimageio/conanfile.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,18 @@ def generate(self):
175175
python_exe = Path(os.path.realpath(sys.executable))
176176
print(f"Python executable: {python_exe}")
177177

178-
# tc.variables["Python_EXECUTABLE"] = python_exe.as_posix()
179-
# tc.variables["Python3_EXECUTABLE"] = python_exe.as_posix()
180-
181-
# TEMP_WINDOWS_313
182-
tc.variables["Python3_LIBRARY"] = Path(
183-
r"Y:\conda\envs\oiio313\libs\python313.lib"
184-
).as_posix()
185-
tc.variables["Python3_INCLUDE_DIR"] = Path(
186-
r"Y:\conda\envs\oiio313\include"
187-
).as_posix()
188-
tc.variables["Python3_ROOT"] = Path(r"Y:\conda\envs\oiio313").as_posix()
189-
tc.variables["Python3_ROOT_DIR"] = Path(r"Y:\conda\envs\oiio313").as_posix()
178+
tc.variables["Python_EXECUTABLE"] = python_exe.as_posix()
179+
tc.variables["Python3_EXECUTABLE"] = python_exe.as_posix()
180+
181+
# # TEMP_WINDOWS_313
182+
# tc.variables["Python3_LIBRARY"] = Path(
183+
# r"Y:\conda\envs\oiio313\libs\python313.lib"
184+
# ).as_posix()
185+
# tc.variables["Python3_INCLUDE_DIR"] = Path(
186+
# r"Y:\conda\envs\oiio313\include"
187+
# ).as_posix()
188+
# tc.variables["Python3_ROOT"] = Path(r"Y:\conda\envs\oiio313").as_posix()
189+
# tc.variables["Python3_ROOT_DIR"] = Path(r"Y:\conda\envs\oiio313").as_posix()
190190

191191
tc.variables["USE_PYTHON"] = True
192192
tc.variables["CMAKE_DEBUG_POSTFIX"] = "" # Needed for 2.3.x.x+ versions

0 commit comments

Comments
 (0)