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

Bundling Anaconda #164

Open
psychemedia opened this issue Sep 22, 2021 · 2 comments
Open

Bundling Anaconda #164

psychemedia opened this issue Sep 22, 2021 · 2 comments

Comments

@psychemedia
Copy link

psychemedia commented Sep 22, 2021

I note a couple of recent examples of other electron apps bundling a Python distribution that might be of interest here:

Also note the recent jupyterlite project which bundles JupyterLab with a WASM backend to provide a Jupyter Python environment that runs in the browser. I wouldn't be surprised if an electron app were to follow.

@teonbrooks
Copy link
Collaborator

teonbrooks commented Sep 22, 2021

hi @psychemedia, thanks for sharing. we have an outstanding PR that we are close to closing here #157 that's using Pyodide (Python on WASM) as the Python runtime so that we can make it webby.
the last hurdle we are looking to cross is getting images passing from the Pyodide webworker to the JS side of things but we haven't had the time to sit down to do so.

@psychemedia
Copy link
Author

psychemedia commented Sep 22, 2021

Hi @teonbrooks - yep, I spotted your pyolite kernel (good stuff:-) I mentioned the jupyterlite project just in case they'd run any issues you had also encountered.

Re: anaconda, as much as anything I was picking up on your README, specifically "However, because it makes use of the MNE Python library to perform EEG analysis, it is necessary to set up an appropriate Python environment to be able to analyze collected experimental results". If a robust pattern is emerging for bundling py distributions with electron, and even automating the build of such apps via Github Actions, it might provide another route for you to distribute a standalone/self-contained version of BrainWaves if that makes sense for your userbase.

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

No branches or pull requests

2 participants