[wxPython-users] Re: Applications written in wxPython
plumber Idraulico
plumber at gnu-darwin.org
Thu Sep 14 12:59:30 PDT 2006
#!/bin/sh
# Using rtool
# example
FRAMEWORK_ROOT=@executable_path/../Frameworks
FRAMEWORK_NAME=usbLib
FRAMEWORK_VERSION=0.1.4
BUILDDIR=build
LIBRARY=BitPim.app/Contents/Frameworks/libusb-0.1.4.dylib
BINARIES=BitPim.app/Contents/Resources/Python/lib-dynload/native/usb/
_libusb.so
mkdir -p "${BUILDDIR}"
chmod 755 ./rtool
./rtool \
--framework_root=${FRAMEWORK_ROOT} \
--framework_name=${FRAMEWORK_NAME} \
--framework_version=${FRAMEWORK_VERSION} \
--library="${LIBRARY}" \
--builddir="${BUILDDIR}" \
--binaries="${BINARIES}"
;)
http://plumber.gnu-darwin.org/rtool/
[comment]
-- a little bug
rtool just copy lib and binaries
but i 've to change the copy in rw ( here the bug )
rtool doesn't work on the original
to fix this, i made an uggly chmod -R 755 BitPim.app
but i think it should be fixed in the next version
[/comment]
-plum
> BitPIM is an excellent example:
>
> http://www.bitpim.org/
>
> One really nice feature of note is that is is distributed with
> various installers so that people run it on Windows, Linux, OS-X,
> etc, and have no idea it's written in Python and wxPython.
>
> -Chris
>
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> NOAA/OR&R/HAZMAT (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list