add pyenv and allow to load packages to the loaded pyodide runtime

This commit is contained in:
Fabio Pliger
2022-04-06 14:45:34 -05:00
parent 1484aadb7a
commit 9d64a9f126
5 changed files with 63 additions and 15 deletions

View File

@@ -7,10 +7,12 @@ import { defaultKeymap } from "@codemirror/commands";
import { oneDarkTheme } from "@codemirror/theme-one-dark";
import { PyScript } from "./components/pyscript";
import { PyRepl } from "./components/pyrepl";
import { PyEnv } from "./components/pyenv"
let xPyScript = customElements.define('py-script', PyScript);
let xPyRepl = customElements.define('py-repl', PyRepl);
let xPyEnv = customElements.define('py-env', PyEnv);
const app = new App({