fixed make mac, it wasn't working anymore

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@105 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-03-08 09:46:29 +07:00
parent 1ec69658c2
commit 5a0d52a79e
5 changed files with 14 additions and 16 deletions

@ -38,18 +38,16 @@ mac: app
tar -zcvvf relational_`./relational_gui.py -v`.tar.gz relational_mac/ tar -zcvvf relational_`./relational_gui.py -v`.tar.gz relational_mac/
rm -rf relational_mac rm -rf relational_mac
app: app:
mkdir Relational.app/ || echo Exists mkdir -p Relational.app/Contents/Resources || echo Exists
mkdir Relational.app/Contents || echo Exists
mkdir Relational.app/Contents/Resources || echo Exists
cp *py Relational.app/Contents/Resources cp *py Relational.app/Contents/Resources
mkdir Relational.app/Contents/Resources/relational mkdir -p Relational.app/Contents/Resources/relational || echo Exists
cp relational/*py Relational.app/Contents/Resources/relational cp relational/*py Relational.app/Contents/Resources/relational
mkdir Relational.app/Contents/Resources/relational_gui mkdir -p Relational.app/Contents/Resources/relational_gui || echo Exists
cp relational_gui/*py Relational.app/Contents/Resources/relational_gui cp relational_gui/*py Relational.app/Contents/Resources/relational_gui
cp mac/Info.plist mac/PkgInfo Relational.app/Contents cp mac/Info.plist mac/PkgInfo Relational.app/Contents
mkdir Relational.app/Contents/MacOS || echo Exists mkdir -p Relational.app/Contents/MacOS || echo Exists
cp mac/relational mac/Python Relational.app/Contents/MacOS cp mac/relational_gui mac/Python Relational.app/Contents/MacOS
cp mac/PythonApplet.icns mac/__argvemulator_relational.py Relational.app/Contents/Resources/ cp mac/PythonApplet.icns mac/__argvemulator_relational_gui.py Relational.app/Contents/Resources/
debian: debian:
#Python files #Python files

@ -18,15 +18,15 @@
</dict> </dict>
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>relational</string> <string>relational_gui</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>PythonApplet.icns</string> <string>PythonApplet.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>relational</string> <string>relational_gui</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>relational</string> <string>relational_gui</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>

@ -1,4 +0,0 @@
import argvemulator, os
argvemulator.ArgvCollector().mainloop()
execfile(os.path.join(os.path.split(__file__)[0], "relational.py"))

@ -0,0 +1,4 @@
import argvemulator, os
argvemulator.ArgvCollector().mainloop()
execfile(os.path.join(os.path.split(__file__)[0], "relational_gui.py"))

@ -5,7 +5,7 @@ execdir = os.path.dirname(sys.argv[0])
executable = os.path.join(execdir, "Python") executable = os.path.join(execdir, "Python")
resdir = os.path.join(os.path.dirname(execdir), "Resources") resdir = os.path.join(os.path.dirname(execdir), "Resources")
libdir = os.path.join(os.path.dirname(execdir), "Frameworks") libdir = os.path.join(os.path.dirname(execdir), "Frameworks")
mainprogram = os.path.join(resdir, "__argvemulator_relational.py") mainprogram = os.path.join(resdir, "__argvemulator_relational_gui.py")
sys.argv.insert(1, mainprogram) sys.argv.insert(1, mainprogram)
if 0 or 0: if 0 or 0: