Re: [pygtk] PyGTK - py2app - Mac OS X
Hi, I was a bit disappointed in the capabilities of py2app in combination with PyGTK. I wrote a blog how to package a Python app with a simple shell script. http://blog.xebia.com/2011/03/31/bundling-a-python-application-on-mac-os-x-with-virtualenv/ Hope this helps, Arjan On 23 Sep 2011, at 18:15, Antoine Martin wrote: On 23/09/11 23:07, Shrihari Sankaran wrote: If you want to bundle PyGTK for OSX, you should probably take a look at: http://gtk-osx.sourceforge.net/ Which will give you a native GTK (no need for X11), and in particular: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle A great step by step guide is here: http://code.google.com/p/tryton/wiki/BuildingMacOSXInstall Cheers Antoine Does this work with PyGTK? Is there a guide available specifically for PyGTK? It does work with PyGTK, Tryton uses PyGTK and so does winswitch: http://winswitch.org/dev/macosx.html Cheers Antoine Thanks, Shrihari On Fri, Sep 23, 2011 at 1:27 PM, Shrihari Sankaran gfxin...@gmail.com wrote: On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund a...@users.sourceforge.net wrote: Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 This problem comes from py2app running as 64-bit, trying to use Carbon... You need to e.g. set the environment VERSIONER_PYTHON_PREFER_32_BIT=yes Or use something else to make the bundle, that is compatible with x86_64. If you update macholib and py2app to the latest, it should be fixed too ? --anders When Python is running in 64-bit, the build is not successful at all. So, i built it after converting to 32-bit. I get the above errors in 32-bit only. And, I installed the latest macholib and py2app via easy_install. -- Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK - py2app - Mac OS X
Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 This problem comes from py2app running as 64-bit, trying to use Carbon... You need to e.g. set the environment VERSIONER_PYTHON_PREFER_32_BIT=yes Or use something else to make the bundle, that is compatible with x86_64. If you update macholib and py2app to the latest, it should be fixed too ? --anders ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK - py2app - Mac OS X
On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund a...@users.sourceforge.net wrote: Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 This problem comes from py2app running as 64-bit, trying to use Carbon... You need to e.g. set the environment VERSIONER_PYTHON_PREFER_32_BIT=yes Or use something else to make the bundle, that is compatible with x86_64. If you update macholib and py2app to the latest, it should be fixed too ? --anders When Python is running in 64-bit, the build is not successful at all. So, i built it after converting to 32-bit. I get the above errors in 32-bit only. And, I installed the latest macholib and py2app via easy_install. -- Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK - py2app - Mac OS X
If you want to bundle PyGTK for OSX, you should probably take a look at: http://gtk-osx.sourceforge.net/ Which will give you a native GTK (no need for X11), and in particular: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle A great step by step guide is here: http://code.google.com/p/tryton/wiki/BuildingMacOSXInstall Cheers Antoine Does this work with PyGTK? Is there a guide available specifically for PyGTK? Thanks, Shrihari On Fri, Sep 23, 2011 at 1:27 PM, Shrihari Sankaran gfxin...@gmail.comwrote: On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund a...@users.sourceforge.net wrote: Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 This problem comes from py2app running as 64-bit, trying to use Carbon... You need to e.g. set the environment VERSIONER_PYTHON_PREFER_32_BIT=yes Or use something else to make the bundle, that is compatible with x86_64. If you update macholib and py2app to the latest, it should be fixed too ? --anders When Python is running in 64-bit, the build is not successful at all. So, i built it after converting to 32-bit. I get the above errors in 32-bit only. And, I installed the latest macholib and py2app via easy_install. -- Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK - py2app - Mac OS X
On 23/09/11 23:07, Shrihari Sankaran wrote: If you want to bundle PyGTK for OSX, you should probably take a look at: http://gtk-osx.sourceforge.net/ Which will give you a native GTK (no need for X11), and in particular: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle A great step by step guide is here: http://code.google.com/p/tryton/wiki/BuildingMacOSXInstall Cheers Antoine Does this work with PyGTK? Is there a guide available specifically for PyGTK? It does work with PyGTK, Tryton uses PyGTK and so does winswitch: http://winswitch.org/dev/macosx.html Cheers Antoine Thanks, Shrihari On Fri, Sep 23, 2011 at 1:27 PM, Shrihari Sankaran gfxin...@gmail.comwrote: On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund a...@users.sourceforge.net wrote: Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 This problem comes from py2app running as 64-bit, trying to use Carbon... You need to e.g. set the environment VERSIONER_PYTHON_PREFER_32_BIT=yes Or use something else to make the bundle, that is compatible with x86_64. If you update macholib and py2app to the latest, it should be fixed too ? --anders When Python is running in 64-bit, the build is not successful at all. So, i built it after converting to 32-bit. I get the above errors in 32-bit only. And, I installed the latest macholib and py2app via easy_install. -- Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
[pygtk] PyGTK - py2app - Mac OS X
Hello, I have a PyGTK app that runs perfectly fine on Windows and Linux (Ubuntu) - http://getmoviemonkey.com/ Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 I'm not able to make head or tail out of this. This is my setup file: from setuptools import setup APP = ['movie_monkey.py'] DATA_FILES = ['movie_monkey.glade', 'res/', 'logo.png'] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) Am I doing something wrong? Do I need to include any dependencies? Thanks, Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK - py2app - Mac OS X
If you want to bundle PyGTK for OSX, you should probably take a look at: http://gtk-osx.sourceforge.net/ Which will give you a native GTK (no need for X11), and in particular: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle A great step by step guide is here: http://code.google.com/p/tryton/wiki/BuildingMacOSXInstall Cheers Antoine On 23/09/11 00:02, Shrihari Sankaran wrote: Hello, I have a PyGTK app that runs perfectly fine on Windows and Linux (Ubuntu) - http://getmoviemonkey.com/ Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful. When I run the app, i get the following errors: 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _FuncPtr object at 0x1003d7ef0 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: Traceback (most recent call last): 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 179, in module 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _argv_emulation() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 177, in _argv_emulation 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: _get_argvemulator().mainloop() 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: File /opt/gtk/bin/mm/dist/movie_monkey.app/Contents/Resources/__boot__.py, line 101, in mainloop 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: stoptime = Evt.TickCount() + timeout 22/09/11 10:10:06.791 PM [0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey: AttributeError: 'module' object has no attribute 'TickCount' 22/09/11 10:10:06.863 PM movie_monkey: movie_monkey Error 22/09/11 10:10:07.790 PM com.apple.launchd.peruser.501: ([0x0-0xb43b43].org.pythonmac.unspecified.movie_monkey[8704]) Exited with code: 255 I'm not able to make head or tail out of this. This is my setup file: from setuptools import setup APP = ['movie_monkey.py'] DATA_FILES = ['movie_monkey.glade', 'res/', 'logo.png'] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) Am I doing something wrong? Do I need to include any dependencies? Thanks, Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
[pygtk] PyGTK for Mac OS X - Current Status?
What is the current status of PyGTK for Mac OSX? I was disappointed to see the lack of a binary, like the one available for Windows. As of now, how do I go about to get PyGTK working on Mac? Thanks, Shrihari ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK for Mac OS X - Current Status?
Shrihari Sankaran wrote: What is the current status of PyGTK for Mac OSX? I was disappointed to see the lack of a binary, like the one available for Windows. I have updated my Mac OS X installer package, from 2.22 to 2.24: http://downloads.sourceforge.net/project/zero-install/PyGTK/2.24.0/PyGTK.pkg It's an all-in-one (= both gtk+ and pygtk) Universal installer, for Mac OS X 10.5 Leopard and later (including OS X 10.7 Lion) It's for all python versions (python2.5, python2.6, python2.7) and is built for all three architectures: ppc, i386, x86_64... The installation is done in /opt/gtk to not disturb anything, and the PYTHONPATH is set up automatically by the Installer. It uses the Quartz backend (not X11), with Clearlooks engine. Support for SVG and ICNS is included, as well as the usual... --anders ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK for Mac OS X - Current Status?
On 14.08.2011, at 11:36, Anders F Björklund wrote: I have updated my Mac OS X installer package, from 2.22 to 2.24: Great. Thank you! Did anybody try installing it over the previous package? ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
Re: [pygtk] PyGTK on Mac OS X
Le vendredi 07 avril 2006 à 14:18 -0700, David M. Cook a écrit : On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is included on the OS X install disc, and it's easy to install and run, but it's not something I'd expect the average Mac user to be particularly comfortable with. Gtk+ - 2.0 run natively on OS X : http://developer.imendio.com/wiki/Gtk_Mac_OS_X Regards Régis ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
regis a écrit : Le vendredi 07 avril 2006 à 14:18 -0700, David M. Cook a écrit : On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is included on the OS X install disc, and it's easy to install and run, but it's not something I'd expect the average Mac user to be particularly comfortable with. Gtk+ - 2.0 run natively on OS X : http://developer.imendio.com/wiki/Gtk_Mac_OS_X Regards Régis No, it does not. This an effort to do it but we are not there yet. Temporarily, using X11 with GTK on Mac is a solution. -- A+ Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
No, it does not. This an effort to do it but we are not there yet. Temporarily, using X11 with GTK on Mac is a solution. It does. Richard Hult even managed to get PyGTK compiled against the native port a couple of days ago. I think all the patches landed in CVS, so as long as you have Gtk+ built properly PyGTK will work just fine. The port of GTK+ is not complete yet, however, it is usable for smaller applications. Don't expect everything to work perfectly though. Johan ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
Johan Dahlin a écrit : No, it does not. This an effort to do it but we are not there yet. Temporarily, using X11 with GTK on Mac is a solution. It does. Richard Hult even managed to get PyGTK compiled against the native port a couple of days ago. I think all the patches landed in CVS, so as long as you have Gtk+ built properly PyGTK will work just fine. The port of GTK+ is not complete yet, however, it is usable for smaller applications. Don't expect everything to work perfectly though. Johan I am happy to see that things are going well. But as you said 'Don't expect everything to work perfectly though.'. It is not yet a solution to deliver an app on the Mac. It's more for early adopters. And it is not because things are compiling that they are working. -- A+ Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is included on the OS X install disc, and it's easy to install and run, but it's not something I'd expect the average Mac user to be particularly comfortable with. Wxpython supposedly has native look and feel on the Mac, but the one wxpython app I run on my Mac, Audacity, doesn't look altogether quite right to my eyes. Dave Cook ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
David M. Cook a écrit : On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is included on the OS X install disc, and it's easy to install and run, but it's not something I'd expect the average Mac user to be particularly comfortable with. Wxpython supposedly has native look and feel on the Mac, but the one wxpython app I run on my Mac, Audacity, doesn't look altogether quite right to my eyes. Dave Cook ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ I guess it is a trade off. I think I'll use Cocoa. It is so much nicer. -- A+ Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] PyGTK on Mac OS X
Hello, I am trying to install PyGTK version 2.8.5 on Mac OS X. During 'configure', I have this error: checking for GLIB - version = 2.8.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: gobject is required to build pygtk? I have installed glib version 2.8.6. Am I alone trying to install it on OS X? Any help would be appreciated. -- Regards. Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
On Wed, Apr 05, 2006 at 05:26:27PM -0400, Pierre Thibault wrote: *** Could not run GLIB test program, checking why... Try setting PKG_CONFIG_PATH, e.g. env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig ./configure Dave Cook ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
John Pye a écrit : Hi Pierre I believe people use 'fink' to install PyGTK on OS X. I don't use Mac but that's what I understand. Have you tried that? Cheers JP On fink, glib2 is stable at 2.6.6, the version 2.8.6 is listed unstable. I guess this is not a good idea because I need version 2.8.5 or better. Pierre Thibault wrote: Hello, I am trying to install PyGTK version 2.8.5 on Mac OS X. During 'configure', I have this error: checking for GLIB - version = 2.8.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: gobject is required to build pygtk? I have installed glib version 2.8.6. Am I alone trying to install it on OS X? Any help would be appreciated. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
David M. Cook a écrit : On Wed, Apr 05, 2006 at 05:26:27PM -0400, Pierre Thibault wrote: *** Could not run GLIB test program, checking why... Try setting PKG_CONFIG_PATH, e.g. env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig ./configure Dave Cook ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ It does not work. But I've installed py-gtk2 from http://darwinports.opendarwin.org. I had a problem with Python 2.4, it didn't wanted to start up. Now it works well. I was able to install and run pygtk using the darwin port. I'm looking at the demo right now. Thank you. I don't know if GTK is good idea on the Mac. I can use pyobjc or wxWindows too. But I think the Wing IDE is made with GTK and it runs well on the Mac. Is there other success stories with GTK on Mac? I think PyGTK is mostly used by Linux users, is it the case? -- Regards. Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK on Mac OS X
On Apr 6, 2006, at 4:05 PM, Pierre Thibault wrote: On fink, glib2 is stable at 2.6.6, the version 2.8.6 is listed unstable. I guess this is not a good idea because I need version 2.8.5 or better. Unstable doesn't neccessarily mean unstable. I use lots of unstable packages from fink without any problems. (Except I'm *not* using the unstable version of pygtk...) Usually the only nuisance is that the packages aren't available in binary, so fink will compile and build them, which takes time. Try to install binary versions of all of the package dependencies before installing a source package. -- Steve -- -- EMail: [EMAIL PROTECTED]Phone: (301) 975-5423 -- -- WWW: http://math.nist.gov/mcsd/Staff/SLanger/Fax: (301) 975-3144 -- -- Mail: NIST; 100 Bureau Drive -- Stop 8910; Gaithersburg, Md 20899-8910 -- -- I don't think this will work. That's why it's science. -- -- Naomi Langer, 17 Feb 2003 -- ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK for Mac OS X?
On Thu, Aug 19, 2004 at 10:56:16AM -0700, David M. Cook wrote: On Thu, Aug 19, 2004 at 11:31:35AM +0400, Mikhail Sobolev wrote: I looked around for PyGTK port for Mac OS X, and it looks like such a thing does not exist (at least, as an official release). Is my impression correct? Pygtk runs fine under Apple's X11 server http://www.apple.com/macosx/features/x11/download/ The quickest way to get the gtk libraries under OS X is to install darwinports http://darwinports.opendarwin.org/ - FAQ 1.19 http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq01.019.htp Comments, fixes, additions appreciated. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] PyGTK for Mac OS X?
Hi I looked around for PyGTK port for Mac OS X, and it looks like such a thing does not exist (at least, as an official release). Is my impression correct? Regards -- Misha signature.asc Description: Digital signature ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK for Mac OS X?
On Thu, Aug 19, 2004 at 11:31:35AM +0400, Mikhail Sobolev wrote: I looked around for PyGTK port for Mac OS X, and it looks like such a thing does not exist (at least, as an official release). Is my impression correct? Pygtk runs fine under Apple's X11 server http://www.apple.com/macosx/features/x11/download/ The quickest way to get the gtk libraries under OS X is to install darwinports http://darwinports.opendarwin.org/ Dave Cook ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] PyGTK for Mac OS X?
On Thu, Aug 19, 2004 at 10:56:16AM -0700, David M. Cook wrote: On Thu, Aug 19, 2004 at 11:31:35AM +0400, Mikhail Sobolev wrote: I looked around for PyGTK port for Mac OS X, and it looks like such a thing does not exist (at least, as an official release). Is my impression correct? Pygtk runs fine under Apple's X11 server http://www.apple.com/macosx/features/x11/download/ The quickest way to get the gtk libraries under OS X is to install darwinports http://darwinports.opendarwin.org/ Thank you, David -- Misha signature.asc Description: Digital signature ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/