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


Groups > comp.lang.python > #86945 > unrolled thread

Make standalone gui-enabled app for LINUX

Started byMehdi <mese1979@gmail.com>
First post2015-03-05 09:31 -0800
Last post2015-03-06 20:11 +0100
Articles 5 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Make standalone gui-enabled app for LINUX Mehdi <mese1979@gmail.com> - 2015-03-05 09:31 -0800
    Re: Make standalone gui-enabled app for LINUX Phil Thompson <phil@riverbankcomputing.com> - 2015-03-05 18:20 +0000
    Re: Make standalone gui-enabled app for LINUX Christian Gollwitzer <auriocus@gmx.de> - 2015-03-05 22:27 +0100
      Re: Make standalone gui-enabled app for LINUX Mehdi <mese1979@gmail.com> - 2015-03-06 00:14 -0800
        Re: Make standalone gui-enabled app for LINUX Christian Gollwitzer <auriocus@gmx.de> - 2015-03-06 20:11 +0100

#86945 — Make standalone gui-enabled app for LINUX

FromMehdi <mese1979@gmail.com>
Date2015-03-05 09:31 -0800
SubjectMake standalone gui-enabled app for LINUX
Message-ID<413fc3f5-38c3-4477-8495-366852e583e7@googlegroups.com>
Hi
I know there are tools like cx_freeze or nuitka for making a linux standalone python app. but i couldn't find a good tutorial about how to making a portable gui-enabled python3 app in linux. by gui-enabled i mean application which use any gui libs like pygobject, qt or wx.
I know most of linux distros have python installed(usually version 2) and a package manager to install packages with their dependencies(rpm or deb). but i'm thinking of really portable app with all dependencies included to run easily almost on every linux OSs with no trouble even for new or less experienced linux users.
So again how can i make a portable python3 + gui(pygobject, qt, wx) for linux?
I found some helpful guide for windows, but what about linux?

Thanks.

[toc] | [next] | [standalone]


#86946

FromPhil Thompson <phil@riverbankcomputing.com>
Date2015-03-05 18:20 +0000
Message-ID<mailman.60.1425580106.21433.python-list@python.org>
In reply to#86945
On 05/03/2015 5:31 pm, Mehdi wrote:
> Hi
> I know there are tools like cx_freeze or nuitka for making a linux
> standalone python app. but i couldn't find a good tutorial about how
> to making a portable gui-enabled python3 app in linux. by gui-enabled
> i mean application which use any gui libs like pygobject, qt or wx.
> I know most of linux distros have python installed(usually version 2)
> and a package manager to install packages with their dependencies(rpm
> or deb). but i'm thinking of really portable app with all dependencies
> included to run easily almost on every linux OSs with no trouble even
> for new or less experienced linux users.
> So again how can i make a portable python3 + gui(pygobject, qt, wx) for 
> linux?
> I found some helpful guide for windows, but what about linux?

I haven't announced this on the list yet, but...

http://pyqt.sourceforge.net/Docs/pyqtdeploy/

Phil

[toc] | [prev] | [next] | [standalone]


#86955

FromChristian Gollwitzer <auriocus@gmx.de>
Date2015-03-05 22:27 +0100
Message-ID<mdahmv$i8i$1@dont-email.me>
In reply to#86945
Am 05.03.15 um 18:31 schrieb Mehdi:
> Hi
> I know there are tools like cx_freeze or nuitka for making a linux standalone python app. but i couldn't find a good tutorial about how to making a portable gui-enabled python3 app in linux. by gui-enabled i mean application which use any gui libs like pygobject, qt or wx.
> I know most of linux distros have python installed(usually version 2) and a package manager to install packages with their dependencies(rpm or deb). but i'm thinking of really portable app with all dependencies included to run easily almost on every linux OSs with no trouble even for new or less experienced linux users.
> So again how can i make a portable python3 + gui(pygobject, qt, wx) for linux?
> I found some helpful guide for windows, but what about linux?
> 
> Thanks.
> 
Use pyinstaller. It creates a "portable app", i.e. either single file or
directory which can be run on (nearly) any system. However the resulting
files can be awfully big. I use it with a relatively small program that
depends on numpy/matplolib, and that pulls in ~100 MB worth of libraries.

	Christian

[toc] | [prev] | [next] | [standalone]


#86996

FromMehdi <mese1979@gmail.com>
Date2015-03-06 00:14 -0800
Message-ID<0f6e6f37-60df-4683-8c2d-d4a0a34bf98b@googlegroups.com>
In reply to#86955
I have no experience with pyqt and so pyqtdeploy but it seems what i need.

> I haven't announced this on the list yet, but... 
> 
> http://pyqt.sourceforge.net/Docs/pyqtdeploy/ 
> 
> Phil 

But i think pyinstaller doesn't work with python3.

On Friday, March 6, 2015 at 12:58:11 AM UTC+3:30, Christian Gollwitzer wrote:
> Use pyinstaller. It creates a "portable app", i.e. either single file or
> directory which can be run on (nearly) any system. However the resulting
> files can be awfully big. I use it with a relatively small program that
> depends on numpy/matplolib, and that pulls in ~100 MB worth of libraries.
> 
> 	Christian

[toc] | [prev] | [next] | [standalone]


#87053

FromChristian Gollwitzer <auriocus@gmx.de>
Date2015-03-06 20:11 +0100
Message-ID<mdcu3k$4es$1@dont-email.me>
In reply to#86996
Am 06.03.15 um 09:14 schrieb Mehdi:
> On Friday, March 6, 2015 at 12:58:11 AM UTC+3:30, Christian Gollwitzer wrote:
>> Use pyinstaller. It creates a "portable app", i.e. either single file or
>> directory which can be run on (nearly) any system. However the resulting
>> files can be awfully big. I use it with a relatively small program that
>> depends on numpy/matplolib, and that pulls in ~100 MB worth of libraries.
>
> But i think pyinstaller doesn't work with python3.
>

Oops. you are right. I'm still using Python2. They announced
"experimental python3 support" on the web page, though.

	Christian


PS: Quoting fixed.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web