Hello list--
I am trying to help a coworker distribute software bundles to his
collaborators for development use. Because our code has a significant
number of dependencies (some quite specific, e.g. I use features only
available in wxPython 2.8.12) we've been trying to distribute all of
them with our code. This results in a large and unwieldy package -
since the target audience is other developers the lack of elegance is
not a problem, but we're running into problems on the Mac side. My
understanding is that wxPython needs the framework build of Python to
run. However, the Python framework is not relocatable as far as I can
tell. We've dealt with this in two ways in the past:
1) build in /usr/local/some_path, and force everyone to install into
that location
2) use a grotesque shell script that calls otool and install_name_tool
(from Apple's developer tools) to relocate the Python framework and
associated libraries
3) build from source
Neither of the first two solutions is satisfactory - we used (1) for
many years, and eventually I figured out (2) but I have never been
happy about it. We are now trying to distribute a separate set of
packages for developers rather than end-users and the options are
becoming even less appealing. Has anyone figured out a way to
distribute disorganized collections of pre-compiled code
(incorporating wxPython) on Mac that are not tied to a particular
location? py2app is not an option, since the goal here is
development, not general use.
thanks,
Nat