On 2020-12-22, Chris Green <c...@isbd.net> wrote: > Grant Edwards <grant.b.edwa...@gmail.com> wrote: >> On 2020-12-22, Chris Green <c...@isbd.net> wrote: >> > [...] >> > >> > How realistic/possible would it be to run the utility in a separate >> > environment with its own copies of Python2 and any modules and >> > libraries needed? I would install these 'by hand', i.e. not using >> > 'apt' so they would stay as installed even as my system gets upgraded. >> >> If you do have it running on a Linux system, then there are tools to >> "bundle" it with all the required libraries. The one that I've used >> most recently is cx_freeze (I generally use it to create bundles for >> Windows): >> >> https://cx-freeze.readthedocs.io/en/latest/index.html >> >> If you want to use it for a 2.7 app, you'd need to use 5.1 > > That looks a good approach, thank you.
I should have mentioned that bundlers like cx_freeze require that you have the Python source for the main app. I don't remember if you mentioned source or not... -- Grant -- https://mail.python.org/mailman/listinfo/python-list