Porting Python Application to a new linux machine

Brett Kugler bkugler at gmail.com
Thu Sep 3 12:19:37 EDT 2015


On Thu, Sep 3, 2015 at 10:39 AM, Chris Angelico <rosuav at gmail.com> wrote:

> On Fri, Sep 4, 2015 at 1:31 AM, Luca Menegotto
> <otlucaDELETE at deleteyahoo.it> wrote:
> > Il 03/09/2015 16:32, Heli Nix ha scritto:
> >
> >> How can I do this in Linux ?
> >
> >
> > As far as I know, in general a Linux distro comes with Python already
> > installed.
> > All you have to do is check if the installed version matches your needs.
> > Tipically, you'll find Python 2.7; however, I know there are distros with
> > Python3.x as default (Fedora?)
>
> Also Ubuntu. If you want to work across multiple Linux distros, the
> easiest way is to tell people to install either "python2" or "python3"
> using their system package manager, and then use that.
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>

You could also look into a more robust solution like placing your
application environment into something like a Docker container.  This would
require your customer machine to be running Docker, but it makes
deployments highly portable as the container will sit on top of just about
any Linux flavor and can be entirely self contained.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150903/d8e9bdaa/attachment.html>


More information about the Python-list mailing list