It would be nice to have some (semi-)automated way to offer vorta (and borg) as pyinstaller fat binary for vorta releases:
Could use similar automation as seen in borg's Vagrantfile.
If easy enough, it could be done for every release or else just now and then.
btw, recently wanted to install vorta for an ubuntu user.
after preparing virtual env etc. wondered why I can't pip install vorta and then noticed I have only python 3.5 on ubuntu xenial (similar problem on debian stretch btw).
so, a fat linux binary with everything would really help for such cases.
It's on my list. Really. :-)
I recently read this tutorial: https://www.mfitzp.com/article/packaging-pyqt5-apps-with-fbs/
Might this be interesting for vorta?
We already use Pyinstaller, which this project wraps. They just solve a few other problems on top of it. Some are already solved in Vorta (finding asset files, making installers), some aren't that relevant (shipping different files for each OS). Maybe these guys solve them better, but they also impose their folder structure on the project, which could be a bad thing.
Still good to know it exists. May be useful for a green field project that needs installers for many OSs.
I see :)
Added the first Linux binary. It got fairly large. 2x of macOS. UPX or zipping didn't make much difference. I guess there are more libraries included.
Would be helpful is someone could test it on different Linux platforms, like Arch or Debian.
I've seen a similar size difference for borg itself, so seems to be normal.
debian stretch (whonix, to be precise):
$ ./vorta-linux64
[2469] Error loading Python lib '/tmp/_MEIMBkOkG/libpython3.6m.so.1.0': dlopen:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found
(required by /tmp/_MEIMBkOkG/libpython3.6m.so.1.0)
Seems you need an older build platform. The borg 1.1.x binaries are still built on wheezy (which is out of support though). For borg 1.2 I guess we'll go to Debian stretch.
Most helpful comment
It's on my list. Really. :-)