5 ms·
This is really interesting to see. I've been trying to solve a similar problem over the past few weeks - bundling up a Python web application as an installable
by simonw 5y ago
This is really interesting to see. I've been trying to solve a similar problem over the past few weeks - bundling up a Python web application as an installable Desktop app, in my case for https://datasette.io/desktop https://datasette.io/desktop - so it's really interesting to see how they've approached the problem.
I ended up including a full copy of Python using https://github.com/indygreg/python-build-standalone https://github.com/indygreg/python-build-standalone - it looks like they've bundled a Conda environment using https://github.com/conda/constructor https://github.com/conda/constructor
I wrote up detailed notes on how I solved the Python bundling problem in https://simonwillison.net/2021/Sep/8/datasette-desktop/#how-the-app-works https://simonwillison.net/2021/Sep/8/datasette-desktop/#how-... and in https://til.simonwillison.net/electron/python-inside-electron https://til.simonwillison.net/electron/python-inside-electro...
- raihansaputra 5y agoI'm aware that you are doing something similar, but interesting that both used different approaches.
- weber_stephen 5y agoHad to build a standalone python app with pyinstaller for BitRook and it was surprisingly hard! Wish I had some of these tutorials. Thanks for posting.