3 ms·
So great to hear it being used like that! I'd really love to have a standalone executable version of Datasette too. I've been meaning to spend some time on tha
by simonw 6y ago
So great to hear it being used like that!
I'd really love to have a standalone executable version of Datasette too. I've been meaning to spend some time on that - bundling Python applications is tricky but it should be possible using BeeWare or PyInstaller.
The best way to install it at the moment is "brew install datasette" - but that only works if you're on a Mac. I really need to get on top of the Windows installation process too.
- mastazi 6y agoYou could implement "scoop install datasette" or "choco install datasette". Way easier than creating an installer, for example this is how you create a Scoop manifest: https://github.com/lukesampson/scoop/wiki/Creating-an-app-manifest https://github.com/lukesampson/scoop/wiki/Creating-an-app-ma...
- simonw 6y agoThat's really useful, thanks.
- ErikBjare 6y agoIt's a common misconception that PyInstaller is something that creates an installer. Scoop and Chocolatey are nice, but you'll still need something like PyInstaller to bundle your Python app into something that can be installed by scoop or choco. (source: building ActivityWatch [1] which is bundled by PyInstaller and available on Chocolatey) [1]: https://activitywatch.net https://activitywatch.net
- tecleandor 6y agoInstead of PyInstaller, I had success using Nuitka. Doesn't work with every Python package, but I think it's easier to use.