Skip to content

Commit f877ba4

Browse files
committed
Update 1 code files
Modified: • src/omnipkg/core.py (+6/-1 lines) [gitship-generated]
1 parent ee8f292 commit f877ba4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/omnipkg/core.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ def run_verbose(cmd: List[str], error_msg: str):
12671267
"pip",
12681268
"install",
12691269
"--no-cache-dir",
1270+
"--extra-index-url https://exotic-wheels.github.io"
12701271
] + sorted(list(filtered_deps))
12711272
try:
12721273
run_verbose(deps_install_cmd, "Failed to install omnipkg dependencies.")
@@ -1985,7 +1986,11 @@ def _install_managed_python(
19851986
]
19861987
source_python_dir = None
19871988
for possible_dir in possible_install_dirs:
1988-
if possible_dir.exists() and (possible_dir / "bin").exists():
1989+
if not possible_dir.exists():
1990+
continue
1991+
# Windows legacy builds have python.exe at root, Linux/mac have bin/
1992+
has_python = (possible_dir / "python.exe").exists() or (possible_dir / "bin").exists()
1993+
if has_python:
19891994
source_python_dir = possible_dir
19901995
break
19911996

0 commit comments

Comments
 (0)