/usr/lib/python-pyo/epyo_builder_OSX.sh is in python-pyo 0.6.8-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | mkdir Resources
cp PyoDoc.py Resources/
cp FlatNoteBook.py Resources/
cp Tutorial_01_RingMod.py Resources/
cp Tutorial_02_Flanger.py Resources/
cp Tutorial_03_TriTable.py Resources/
cp *.icns Resources/
svn export ../examples examples/
cp -R examples Resources/
cp -R snippets Resources/
cp -R styles Resources/
rm -rf build dist
py2applet --make-setup E-Pyo.py Resources/*
python setup.py py2app --plist=info.plist
rm -f setup.py
rm -rf build
mv dist E-Pyo_OSX
if cd E-Pyo_OSX;
then
find . -name .svn -depth -exec rm -rf {} \
find . -name *.pyc -depth -exec rm -f {} \
find . -name .* -depth -exec rm -f {} \;
else
echo "Something wrong. E-Pyo_OSX not created"
exit;
fi
ditto --rsrc --arch i386 E-Pyo.app E-Pyo-i386.app
rm -rf E-Pyo.app
mv E-Pyo-i386.app E-Pyo.app
cd ..
cp -R E-Pyo_OSX/E-Pyo.app .
# Fixed wrong path in Info.plist
cd E-Pyo.app/Contents
awk '{gsub("Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python", "@executable_path/../Frameworks/Python.framework/Versions/2.6/Python")}1' Info.plist > Info.plist_tmp && mv Info.plist_tmp Info.plist
cd ../..
#tar -cjvf E-Pyo_OSX-0.6.1.tar.bz2 E-Pyo.app
#rm -rf E-Pyo.app
rm -rf E-Pyo_OSX
rm -rf Resources
rm -rf examples
|