Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100548

Re: How does one distribute Tkinter or Qt GUI apps Developed in Python

Newsgroups comp.lang.python
Date 2015-12-16 17:21 -0800
References <d8560cde-5ccb-4b91-b60c-adc8c1cb836c@googlegroups.com> <ffc43f4a-bea3-40a0-88a5-aeefb54fc652@googlegroups.com>
Message-ID <aab438cb-56ff-4163-b877-1616859ff1e2@googlegroups.com> (permalink)
Subject Re: How does one distribute Tkinter or Qt GUI apps Developed in Python
From Denis Akhiyarov <denis.akhiyarov@gmail.com>

Show all headers | View raw


On Wednesday, December 16, 2015 at 6:45:50 PM UTC-6, Rick Johnson wrote:
> On Wednesday, December 16, 2015 at 6:03:55 PM UTC-6, Bruce Whealton wrote:
> 
> > Surely, one is going to want to create GUI apps for users
> > that are not Python Developers. I would not think to ask
> > someone to install Python on their system and make sure it
> > is added to the path. Maybe it is not so hard for the non-
> > technical, average users.
> > 
> > I would want to package in some way so that when launched,
> > it installs whatever is needed on the end user's computer.
> > How is this done? Are there common practices for this?
> 
> 
> Your assumptions are correct! In fact, in a language that was "supposedly" designed to be an "applications language" (eat your heart out D'Aprano!!!), one would think that distributing apps would not only be obvious, but also intuitive!
> 
>  ALAS, THE CRUEL REALITIES OF INTERPRETED LANGUAGES SLAPS YOU IN THE PASTEY WHITE FACE! 
> 
> Unlike a true "applications language", like say, um, *JAVA*, one cannot simply compile an executable and distribute it in a teeny tiny binary form, no, with Python, the end user must either (1) have Python on his machine already, (2) download Python, or (3) you must package a Python interpreter along with your script (and dependencies) -- which will end up being a very large file just to run (what is in most cases) a very small script. 
> 
>  BOO-HISS!
> 
> But the good news is that, Python ships on many machines already. But of course, you're seeking more consistency in your distribution QA than the "wild guess" and the fickle nature of "lady luck". 
> 
> Many 3rd party libraries exist to solve your distribution issue. Google probably knows about all (or at least most) of them.


if you did not notice Java/.NET ship with runtime VMs as well.
Even C/C++ have some requirements depending on the platform.
We should all switch to assembly to avoid any dependencies and port our code to each platform without hesitation.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How does one distribute Tkinter or Qt GUI apps Developed in Python Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2015-12-16 16:03 -0800
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Christian Gollwitzer <auriocus@gmx.de> - 2015-12-17 01:29 +0100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Rick Johnson <rantingrickjohnson@gmail.com> - 2015-12-16 16:45 -0800
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2015-12-16 17:21 -0800
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-17 13:58 +0000
      Re: How does one distribute Tkinter or Qt GUI apps Developed in Python wxjmfauth@gmail.com - 2015-12-17 07:21 -0800
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Ben Finney <ben+python@benfinney.id.au> - 2015-12-17 12:20 +1100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Michiel Overtoom <motoom@xs4all.nl> - 2015-12-17 12:01 +0100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-12-17 15:30 +0000
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python wxjmfauth@gmail.com - 2015-12-17 08:28 -0800

csiph-web