• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OT: wxPython standalone app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT: wxPython standalone app


  • Subject: OT: wxPython standalone app
  • From: John Stiles <email@hidden>
  • Date: Fri, 20 Feb 2004 11:27:51 -0800

I know this question is offtopic for a Carbon/Cocoa list, but I'm sure someone here has dealt with this before, and this problem has me fairly stumped--I'm way outside my area of expertise here.

I'm trying to build a double-clickable Mac app based on wxPython code. If I manually build and install libwx and MacPython, and rename my program to .pyw, I can double-click it and it seems to work fine (minor wxMac issues outstanding). However, I need a stand-alone app that doesn't force the user to install lots of libraries--it needs to look like a cohesive program, not a script and a bunch of external libraries.

Does anyone have any knowledge of how to go about solving this? I can build python into a static library, but don't know how to statically add in libwx (the page at http://www.python.org/doc/current/ext/compilation.html gives some pointers but libwx is gargantuan and I don't know where to begin). I could also bundle in python and libwx as .dylibs, but I don't know exactly how .dylibs work in this regard--the ones I've got now (built by hand with configure and make) are probably hard-coded to /usr/local/bin/, and I need to change them to operate bundle-relative instead of hard-coded to one directory.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: How to load a nib from a path
  • Next by Date: Re: [Slightly OT] Shareware donation collection
  • Previous by thread: Re: SFAuthorizationView
  • Next by thread: [OT] Encryption
  • Index(es):
    • Date
    • Thread