[pygtk] Mapping stock icon names to files

2011-10-25 Thread Jason Heeris
I'm building an app using PyGTK 2.22.4 and Python 2.6, and bundling it up using py2exe. One of the big problems I'm facing is size, though. I can strip out translations, etc and other extraneous files (extraneous, that is, for my very well constrained deployment environment!). What I'm looking at

Re: [pygtk] Bundling GTK resources with py2exe

2011-10-25 Thread Jason Heeris
On 26 October 2011 09:07, Joel Rivera wrote: > of your software, if that is not what you want, just copy the dist directory > and create manually the shortcuts if you will. I read somewhere that it's possible to get Inno (or NSIS?) to extract the files to a temp dir (instead of installing) and ru

Re: [pygtk] Bundling GTK resources with py2exe

2011-10-25 Thread Joel Rivera
On Wed, 26 Oct 2011 08:48:12 +0800, Jason Heeris wrote: On 25 October 2011 23:52, Joel Rivera wrote: but a last step is that you need to package all of those files to a single installer, I use `Inno setup` for that matter, this is my working setup file 'setup.iss', which I just need to build

Re: [pygtk] Bundling GTK resources with py2exe

2011-10-25 Thread Jason Heeris
On 25 October 2011 23:52, Joel Rivera wrote: > but a last step is that you need to package all of > those files to a single installer, I use `Inno setup` for that matter, > this is my working setup file 'setup.iss', which I just need to build it > from `Inno setup`. Oh, I meant to ask: is this t

Re: [pygtk] importing list from another python file

2011-10-25 Thread craf
Hi Ravi. Why don't use the class ConfigParser, for save your config. http://docs.python.org/release/2.6.7/library/configparser.html?highlight=configparser#ConfigParser.ConfigParser Best Regards. Craf >-Mensaje original- >De: ravi ravi >Para: pygtk@daa.com.au >Asunto: [pygtk] importing

[pygtk] importing list from another python file

2011-10-25 Thread ravi ravi
Hello all, I am using python and pygtk to create a GUI. I am storing all the values that are to be displayed, in a list. --> The values are calculated and stored in a list in the first file --> The list is imported in to the second file which is GUI file(contains gtk.main()) by using IMPORT stat

Re: [pygtk] Bundling GTK resources with py2exe

2011-10-25 Thread Joel Rivera
This what I do and it has been working the las couple of years with python 2.6 and gtk2: In the setup.py set the right libraries for pyexe to find the packages: setup(name='COMYSI Admin', # The main script with an icon windows = [{'script': 'COMYSIAdmin.pyw',