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

can't install py2app because it has no __main__ routine

I have downloaded py2app tar, unzipped it and and am trying to install it on an off-line pc, so I can't use easy_install. I opened a console window and typed: C:\Python27\python.exe setup.py D:\py2app\ install (because D:\py2app\ is where the…
user3070849
  • 41
  • 2
  • 6
0
votes
2 answers

How do I install py2app onan off-internet PC

I have downloaded py2app, but the problem is that easy install seems to be an online installation, yet I am installing this on an off-line pc, so can't use easy install. I expected to be able to download an EXE file or MSI file to install it on my…
user3070849
  • 41
  • 2
  • 6
0
votes
1 answer

Error packaging program in py2app

I have a program written in python 3.3 that I'd like to be able to distribute without the need for users to install python or any additional modules. I was able to successfully package this program using cx_Freeze on Windows, but the same script on…
dcastello
  • 35
  • 8
0
votes
1 answer

How to report errors early in a py2app-frozen wxpython app on OSX,

I'm using py2app to freeze a python app so I can distribute it under OSX. For Windows, I use bbfreeze, and it has an option to say "keep the console around". This is very useful in debug situations, for catching exceptions early in the application…
GreenAsJade
  • 14,459
  • 11
  • 63
  • 98
0
votes
1 answer

Py2app: saving files on hard drive with easygui

I usually save xls files created within Python scripts on my hard drive. That 's usually a pretty straight forward thing to do with pandas, for instance. My problem is that I'm trying to accomplish this from a py2app-compiled script. I tried using…
Lucien S.
  • 5,123
  • 10
  • 52
  • 88
0
votes
1 answer

Mavericks (OSx 10.9)program argument passing issue in py2app

The app that I built using py2app has a program argument which is the file name. For e.g a text file name that has to be opened using TextEdit. I did not cross check for other type of arguments. This app works fine in 10.8.5 OSx version but fails to…
imp
  • 1,967
  • 2
  • 28
  • 40
0
votes
1 answer

py2app-installed app using pygame fails

I'm bundling a pygame app using py2app. The bundling works and the resulting bundle runs on my mac just fine. It also used to run on another person's mac just fine. However, recently I've started getting this error (from the console) when trying to…
Claudiu
  • 224,032
  • 165
  • 485
  • 680
0
votes
1 answer

py2app: How can I run tests using the bundled python interpreter?

I use py2app to package my application. A few quick notes about my app: It uses a special python executable (i.e. non-system python), which py2app includes in the bundle. I explicitly exclude a few packages from site-packages.zip using the py2app…
Stuart Berg
  • 17,026
  • 12
  • 67
  • 99
0
votes
1 answer

Open a file through a py2app developed app

I am making an app in python, which is able to open different file types. This code in running fine on eclipse while passing filename which I want to open and configuration file as arguments respectively. Now I converted this into application by…
0
votes
0 answers

Resource / data paths with py2app

I'm trying to package this example PySide systray Application with py2app. The app accesses a number of images to display as the systray icon's graphic, in a directory called images. The images are loaded with simple paths as shown…
fatuhoku
  • 4,815
  • 3
  • 30
  • 70
0
votes
1 answer

Is there a skeleton project for a graphical cross-platform Python application?

I found that making a Python application work across all three platforms with, say, PySide is hard enough work as it is. Surely there's a project that provides an example codebase where this all works (even packaging the application and deploying it…
fatuhoku
  • 4,815
  • 3
  • 30
  • 70
0
votes
1 answer

Error in py2app application

(OSX = Mountain lion) My app in /dist throws the error: Last login: Wed Aug 28 11:21:29 on ttys001 -MacBook-Pro:~ $ /Users/Desktop/dist/abc.app/Contents/MacOS/abc ; exit; Traceback (most recent call last): File…
askance
  • 1,077
  • 4
  • 14
  • 19
0
votes
1 answer

Py2app and Py2exe fail to package Patsy files

I have been building a python-based standalone application using py2app (Mac OS X 10.6) and py2exe (Win XP and Win7). Recently I added support for functions that depend on the library patsy. However, when building py2app or py2exe versions of my…
nateS
  • 65
  • 6
0
votes
2 answers

Py2app Problems : Setup Tools

I've recently installed the latest version of Py2app on my Mac Os X (10.5.8), and I've watched some tutorials on YouTube such as: http://www.youtube.com/watch?v=Zip9H_dLdhI, and http://www.youtube.com/watch?v=5Ehhts9HhE8, but when I copy their main…
JaredCubilla
  • 538
  • 1
  • 8
  • 24
0
votes
4 answers

py2app ImportError with watchdog

I am attempting to use py2app to bundle a small Python app that I've made in Python 2.7 on Mac. My app uses the Watchdog library, which is imported at the top of my main file: from watchdog.observers import Observer from watchdog.events import…
ekl
  • 1,052
  • 2
  • 9
  • 24