I have a program that I've been writing using Xcode, pyObjc and py2app. Up until this point I've been using the standard python on Mac OSX Tiger which is 2.3, it's been doing fine for me. I needed to use the subprocess module, so I installed 2.4 and changed the lead line in my setup.py file to read: #!/usr/local/bin/python2.4
Now the application being created runs properly, but py2app is copying the entire python installation, documentation and all into the application bundle, making it about 28MB instead of the usual 2. Any idea why it's doing this? Many thanks, Ian Bloom This is my setup.py: #!/usr/local/bin/python2.4 # # ------------------------------------------------ # # CHANGE ABOVE OR EDIT THE "Shell Script Files" # PHASE TO START THE THIS SCRIPT WITH ANOTHER # PYTHON INTERPRETER. # # ------------------------------------------------ # """ Distutils script for building Crimson. Development: xcodebuild -buildstyle Development Deployment: xcodebuild -buildstyle Deployment These will place the executable in the "build" dir by default. Alternatively, you can use py2app directly. Development: python setup.py py2app --alias Deployment: python setup.py py2app These will place the executable in the "dist" dir by default. """ from distutils.core import setup import py2app import os import sys os.chdir(os.path.dirname(os.path.abspath(__file__))) from PyObjCTools import XcodeSupport xcode = XcodeSupport.xcodeFromEnvironment( 'Crimson.xcode', os.environ, ) sys.argv = xcode.py2app_argv(sys.argv) setup_options = xcode.py2app_setup_options('app') infos = { 'description' : 'Crimson facilitates onlining 4K footage', 'keywords' : 'red, workflow, edit, conform', 'name' : 'CrimsonWorkflow', 'platforms' : 'MacOS X', 'version' : '0.8.9', } #py2app_options = { #'iconfile' : 'Crimson.icns', #'plist' : 'Info.plist' #} setup_options.update(infos) #setup_options["options"]["py2app"].update(py2app_options) setup(**setup_options) Ian Bloom Director of Photography New York, NY Office: 646.257.2462 Cell: 336.986.0663 [EMAIL PROTECTED] http://www.ianbloom.com http://www.redhax.net _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig