micropip install beautifulsoup4

pull/282/head
messense 2 months ago
parent d7fa39bf1a
commit 015fe5f003
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
  1. 1
      emscripten/runner.js

@ -93,6 +93,7 @@ async function main() {
FS.mount(NODEFS, { root: testDir }, "/test_dir");
await pyodide.loadPackage(["micropip", "pytest", "tomli"]);
const micropip = pyodide.pyimport("micropip");
await micropip.install("beautifulsoup4");
await micropip.install(wheelURL);
const pytest = pyodide.pyimport("pytest");
errcode = pytest.main(pyodide.toPy(["/test_dir"]));

Loading…
Cancel
Save