Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pyodide js code by a custom and local install #148

Closed
2 tasks
berinhard opened this issue Mar 3, 2021 · 0 comments · Fixed by #195
Closed
2 tasks

Replace pyodide js code by a custom and local install #148

berinhard opened this issue Mar 3, 2021 · 0 comments · Fixed by #195

Comments

@berinhard
Copy link
Owner

berinhard commented Mar 3, 2021

Currently pyodide mode is being loaded via a public JS file. This was faster for me to focus on the changes pyp5js required to allow multiple python interpreters, but it's not ideal. Besides the fact that it prevents people from trying pyp5js offline, the current pyodide adds numpy and because of that it takes time to load the page.

The goal is to have a bare minimum pyodide install but allowing people to extend the libs via .properties.json customization.

Goals:

  • To load the page faster
  • To be able to customize which python lib files to be enabled via pyodide
@berinhard berinhard changed the title Replace pyodide js code by a custom one Replace pyodide js code by a custom and local install Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant