@wickman quick pex question: I'd like to distribute an OSX (and eventually Windows) tool written in Python as a stand-alone download without having to talk people through how to first install Python - is there a way to bundle the Python interpreter in there too?
-
Show this thread
-
Aah OK it looks like pex isn't quite the right thing for that - I just found this which has some useful hintshttps://docs.python-guide.org/shipping/freezing/ …
3 replies 0 retweets 4 likesShow this thread -
Replying to @simonw
is datasette that you need to distribute? pyinstaller was working, i haven't tried with latest releasehttps://github.com/simonw/datasette/issues/93 …
1 reply 0 retweets 1 like -
Replying to @atomotic
Yes, I want to make Datasette as easy as possible for non-developers to get up and running on their laptops
1 reply 0 retweets 1 like -
In the longer run I'm intrigued by the idea of packaging it up with Electron so you can use it without having to learn the terminal - that's a way off though
2 replies 0 retweets 0 likes -
Replying to @simonw
this exact pattern has been adopted by webrecorder-player. the core python application (the same that power https://webrecorder.io ) is packaged with pyinstaller, then electron is the ui https://github.com/webrecorder/webrecorder-player …https://github.com/webrecorder/webrecorder-desktop …
1 reply 0 retweets 1 like -
Replying to @atomotic
Wow that's an impressive example, a lot going on there. I'll take a look, thanks!
1 reply 0 retweets 1 like
Happy to answer any questions about our setup! Very short summary is that we have the python exe built with pyinstaller by CI for main project (webrecorder), uploaded to S3, then electron CI build (webrecorder-desktop) downloads and uses python binary, bundling all together.
-
-
Replying to @IlyaKreymer @atomotic
Split I the pyinstaller build from the electron build sounds very smart - which scripts in your repo should I be looking at first to understand how it all works?
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.