-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bundle Python, create virtual environment and install datasette on startup #25
Comments
I built a prototype of this using https://github.com/indygreg/python-build-standalone/releases/tag/20210724 and it worked surprisingly well! The key challenge I am solving here relates to plugins, see #5. In order to install plugins I need to have a full Python environment with the entire standard library, in case any future plugins need to use that. I need to be able to run So... I'm going to try bundling a full standalone Python from https://github.com/indygreg/python-build-standalone in the This will then be launched by Electron. Is this a good idea? I honestly don't know, but I'm going to get a working version of it up and see what people think. |
https://pypi.org/project/datasette-app-support/ is now on PyPI. |
In development mode this expects there to be a This works:
|
Switching to a PR. |
It totally worked! I downloaded the artifact from https://github.com/simonw/datasette-app/actions/runs/1188102495 and installed the application from the DMG (to So I went to |
Originally posted by @simonw in #22 (comment)
The text was updated successfully, but these errors were encountered: