-
Shavais
python c osx setuptools py2app
I’m not sure my question / title is phrased quite right. I’m working on OSX 10.6 and python 2.7.1. I’ve used setuptools and py2app to create a .app, which I can run from the finder or from the terminal using open. One of my goals for the program is to launch quickly. When I go into the build folder and run the python program directly using python, my window pops up right away. In less than 1 second. It’s pretty consistent. But when I go into the dist folder and run the .app (either from t
-
Teak
python pygame py2app
I’m writing a simple game with python, pygame and py2app. (I use python 2.6) When I build my game in alias mode, it works fine, but when I build for deployment, the app I get crashes immediately after lunching. Anyone know what’s going on?
-
user1204395
python cocoa twisted pyobjc py2app
I’m making a Python/PyObjC bundle to use some Twisted features from an Objective-C application.I need to install a Core Foundation reactor in my Python App:from twisted.internet import cfreactor cfreactor.install()The problem is that when I build a bundle with py2app, the required CFNetwork framework never appears inside my bundle and when I load the bundle from my Objetive-C application it crash.There is any way to force link the CFNetwork framework? Why this framework is not added automatly?
-
scum
python osx pygame py2app
Trying to build an app on the Mac using py2app. Got everything working fine on my machine, but when moving the app to another, it crashes and the console displays this error.ERROR: pygame.macosx import FAILEDAnybody have a solution to this?
-
Patrick Kenny
pyqt py2app
I’m attempting to package Mnemosyne, an application that uses PyQt, on Mac OS Lion via Py2app.I’m getting several errors like the following:objc[2826]: Class QCocoaView is implemented in both/Volumes/Bullfrog/patrick/m2/./dist/Mnemosyne.app/Contents/MacOS/../Frameworks/libQtGui.4.dyliband /opt/local/lib/libQtGui.4.dylib. One of the two will be used.Which one is undefined. objc[2826]: Class QCocoaWindow is implemented in both/Volumes/Bullfrog/patrick/m2/./dist/Mnemosyne.app/Contents/MacOS/../Fram
-
jopes
python osx-snow-leopard osx-leopard py2app
I currently am making my PyObjC application work for Snow Leopard and I successfully compiled a standalone app. My question would be, how do I make the build to be also Leopard-compatible, given these errors?dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003Referenced from: /Applications/MyApp.app/Contents/MacOS/MyAppExpected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: _fopen$UNIX2003Referenced from: /Applications/MyApp.app/Contents/MacOS/MyAppExpected in: /usr/lib/lib
-
sbaechler
python distutils cairo py2app pycairo
I just fixed a bug in a two year old python program and now I’m having big trouble getting it to compile again. I simply cannot get Python, Cairo, wx and distutils to work together.On OSX I managed to get Python 2.7 to import Cairo and WX but py2app does not work. The error is something about unknown architecture.On Windows 7 I have not been able to successfully import cairo. I installed py2cairo and put the libcairo-2.dll in Windows/System32 but still get an import error. I even copied msvcr90.
-
chollida
osx osx-snow-leopard pyobjc py2app
If you did, would you mind sharing how you did the pyobjc install? I was trying to do it by installing PythonMac 2.5 (for the standalone bundle thru py2app), and doing easy_install of PyObjC. I always get those deprecated errors, primarily those declared in dyld.h, and inside objc_inject.m.I tried compiling from source but still no luck.Also, when I run my Leopard-compiled PyObjC app under Snow Leopard, it has errors concerning PyObjC, first time was it can’t see Foundation or AppKit, second was
-
eerne
python qt packaging pyside py2app
I am quite new to Python and PySide and trying to package a very simplified test case into an standalone app OS X. I put the test on github https://github.com/eerne/pyside-py2app-testPython 2.6.1 that is shipped with OS X 10.6.7 Qt 4.7.3 from http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x PySide 1.02 from http://developer.qt.nokia.com/wiki/PySide_Binaries_MacOSXThe test just opens a QWebView() and loads test.html, this runs fine with python test.py but when trying t