Skip to content

Commit

Permalink
fix: Install full pkg requirement not just name (#194)
Browse files Browse the repository at this point in the history
* fix: Install full pkg requirement not just name

Fixes posit-dev/py-shinylive#45

* chore: update log message
  • Loading branch information
gadenbuie authored Dec 16, 2024
1 parent e8fd46e commit b9bd20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/usePyodide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ async def _install_requirements_from_dir(dir: str) -> None:
extras.update({e.strip() for e in match_extras.group(2).split(",")})
if pkg_name not in micropip.list():
print(f"Installing {pkg_name} ...")
await micropip.install(pkg_name)
print(f"Installing {req} ...")
await micropip.install(req)
if len(extras) == 0:
continue
Expand Down

0 comments on commit b9bd20d

Please sign in to comment.