I just paste below once more the mail I wrote to another pysider already last week. Hope it helps you to, for me it created usable apps.



Hello!

I had some success on MacOS with 'bundlebuilder'. The following script may give you some ideas of the usage. Hope, it helps!
Aaron

Script:

# Works only on MacOsX!!!!!!!!!!!
# Shell command: python2.6 buildNonLinkedApp.py

import bundlebuilder, os

# I set this to make adding subfolders into the package easier
packageroot = "/Users/me/myApp/src"

# Create the AppBuilder
myapp = bundlebuilder.AppBuilder(verbosity=1)

# Tell it where to find the main script - the one that loads on startup
myapp.mainprogram = os.path.join(packageroot, "Main.py")

myapp.standalone = 1
myapp.name = "MyApplication"

# includePackages forces certain packages to be added to the app bundle
myapp.includePackages.append("encodings")


#myapp.includeModules.append("PySide")

# Here you add supporting files and/or folders to your bundle
myapp.resources.append('/Library/Python/2.6/site-packages/PySide')

myapp.libs.append('/usr/local/mysql/lib/libmysqlclient.16.dylib')


# Here we build the app!
myapp.setup()
myapp.build()

--
Aaron Richiger
Rosentalstr. 11
8400 Winterthur

079 613 71 78

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to