Questions tagged [py2app]

py2app can create standalone Mac OS X applications with Python

py2app is a Python setuptools command which will allow you to make standalone application bundles and plugins from Python scripts. py2app is similar in purpose and design to py2exe for Windows.


Resources:

621 questions
0
votes
1 answer

Python Tkinter File Menu Options

Creating a Tk app results in a menu item "Run Widget Demo" (File > Run Widget Demo). I can't seem to find docs on how to remove this menu item. Any help is appreciated. Thanks!
vpaterno
  • 442
  • 3
  • 14
0
votes
0 answers

py2app -- importing external modules

Can py2app be set up such that the typical contents of a user's sys.path (when running python, not a py2app .app) are appended at the end of the path that py2app sets up? I am bundling an application with an interactive python prompt -- I would like…
ChrisB
  • 4,628
  • 7
  • 29
  • 41
0
votes
1 answer

py2app error: "can't copy '%s': doesn't exist or not a regular file"

I'm trying to pack my Python app with py2app. I'm running the setup.py I created, and I get this error: File "C:\Python26\lib\distutils\file_util.py", line 119, in copy_file "can't copy '%s': doesn't exist or not a regular file" %…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
0
votes
1 answer

py2app failing to load extension

When building an app that is using sqlalchemy I get this error: creating python loader for extension 'sqlalchemy.cprocessors' error: /Users/paul/Source/Python/build/bdist.macosx-10.6-intel/python2.7-standalone/app/temp/sqlalchemy/cprocessors.py: No…
GP89
  • 6,600
  • 4
  • 36
  • 64
0
votes
1 answer

Python: py2app "ImportError: dlopen(): Library not loaded"

I've written a python script that does some work with numpy and scikit's audiolab. I want to create a standalone app using py2app but I keep getting the same error no matter which OS X computer I test it on. ImportError:…
IAmDamoSuzuki
  • 33
  • 2
  • 6
0
votes
1 answer

Saving space in tkinter application

I'm making a few Python applications for MacOSX (10.6 in this case, though I don't imagine it matters) using Tkinter to code the interface, and py2app to create the bundle. As many of you know, these stand-alone apps tend to be a fairly large size,…
DaveTheScientist
  • 3,299
  • 25
  • 19
0
votes
1 answer

Py2app- Error building PyQt4 application on 10.7 Lion for 10.6 Snow Leopard (Symbol not found: _kMDItemDownloadedDate)

I have successfully built an open source application using py2app for 10.7 Lion. However, when users try to open the application on 10.6 Snow Leopard, they get the following error: ImportError: …
Patrick Kenny
  • 4,515
  • 7
  • 47
  • 76
0
votes
1 answer

Py2App error-- Function Not implemented

Sigh...Py2app is the devil. (Now that I've gotten that off my chest, I'll be professional) I swear that I have done everything that PY2app asks me to do. I created the set up file, I have installed py2app correctly, but when I run the setup.py…
Mizmor
  • 1,391
  • 6
  • 21
  • 43
0
votes
1 answer

Class ABC is implemented in both Py2app App and System Library. One of the two will be used

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 …
Patrick Kenny
  • 4,515
  • 7
  • 47
  • 76
0
votes
1 answer

ImportError: No module named pyqt_ui.qt_translator

I'm attempting to package a python application (Mnemosyne) using py2app (I didn't write the software; I am only attempting to package it). I have built the application with py2app: sudo python setup.py py2app and copied the qt_menu.nib directory…
Patrick Kenny
  • 4,515
  • 7
  • 47
  • 76
0
votes
1 answer

How do I know which modules to include when packaging with py2app?

I'm trying to package the Mac version of an open source application that I didn't write (I'm not much of a coder). I'm using py2app 0.6.4. The application builds on my system properly, but I'm unsure of what to list for the includes in the…
Patrick Kenny
  • 4,515
  • 7
  • 47
  • 76
0
votes
1 answer

py2app installation error--Permission Denied

I am trying really REALLY hard to install py2app, but whenever I run the install command on the source code, I get half way through and then I get a permission denied error. Does anyone have an idea about how I could fix this? I do have admin rights…
Mizmor
  • 1,391
  • 6
  • 21
  • 43
0
votes
1 answer

python and py2app mac osx 10.7

i want to create .app application by Py2app, i was installed Py2app on my mac os x lion by terminal and copy "gtkapp.py" (the name of my app that used PyGTK) and "setup.py" but when i run the setup.py get this error: from setuptools import…
-1
votes
2 answers

Can't Run py2app on Mac big sur : Launch error See the py2app website for debugging launch issues

So im just trying to run a filemanager code and i want it to run as an application. from setuptools import setup APP = ['FileManager.py'] OPTIONS = { 'argv_emulation':True, } setup( app = APP, options = {'py2app':OPTIONS}, …
Jo Seb
  • 9
  • 1
  • 4
-1
votes
2 answers

ImportError: No module named 'google-api-python-client' when using py2app

I have been trying to make a standalone app using py2app using this tutorial but instead of using the forked version I used the official version.. Using python setup.py py2app -A worked fine but when using python setup.py py2app it gave an error.…
Roxiun
  • 185
  • 2
  • 10
1 2 3
41
42