Skip to content

Commit 653f1c5

Browse files
authored
fix: Install full pkg requirement not just name
Fixes posit-dev/py-shinylive#45
1 parent e8fd46e commit 653f1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/usePyodide.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ async def _install_requirements_from_dir(dir: str) -> None:
413413
414414
if pkg_name not in micropip.list():
415415
print(f"Installing {pkg_name} ...")
416-
await micropip.install(pkg_name)
416+
await micropip.install(req)
417417
418418
if len(extras) == 0:
419419
continue

0 commit comments

Comments
 (0)