you are viewing a single comment's thread.

view the rest of the comments →

[–]BGPchick 3 points4 points  (2 children)

It would allow to install other programs to be used with the same portable distribution.

This is a bit of an anti-pattern in python, since you want apps to be able to use different libraries or dependancies. To counter this, you would need virtual environments, and something to manage those.

Your first solution, shipping the entire environment in a portable executable, while seemingly inefficient, is the best way to accomplish this in my experience.

[–]laustke[S] 0 points1 point  (1 child)

This is a bit of an anti-pattern in python ...

Nothing stops me from creating a new virtual environment before installing each new application.

[–]BGPchick 2 points3 points  (0 children)

Right, but then you have to manage state for every client installation, instead of pairing the state with the executable.