comparison scripts/wine-py2exe @ 453:4f3c55b09fda

Fix version variable names.
author Simon Cross <hodgestar@gmail.com>
date Sat, 17 Sep 2011 20:30:40 +0200
parents e07b42656d22
children f0a29c9d57ee
comparison
equal deleted inserted replaced
452:c45e09b34e51 453:4f3c55b09fda
1 #!/bin/sh 1 #!/bin/sh
2 # wine-py2exe 2 # wine-py2exe
3 # 3 #
4 # Usage: wine-py2exe 4 # Usage: wine-py2exe
5 5
6 NT_VERSION=`sed -nre 's/VERSION_STR = "(.*)"/\1/p' setup.py` 6 MM_VERSION=`sed -nre 's/VERSION_STR = "(.*)"/\1/p' setup.py`
7 BUILD_FOLDER="mutable-mamba-${NT_VERSION}" 7 BUILD_FOLDER="mutable-mamba-${MM_VERSION}"
8 ZIP_NAME="${BUILD_FOLDER}.zip" 8 ZIP_NAME="${BUILD_FOLDER}.zip"
9 PY2EXE_LOG="py2exe.log" 9 PY2EXE_LOG="py2exe.log"
10 10
11 WINE_PYTHON=`winepath "C:/Python26"` 11 WINE_PYTHON=`winepath "C:/Python26"`
12 WINE_SYS32=`winepath "C:/windows/system32"` 12 WINE_SYS32=`winepath "C:/windows/system32"`
15 # Run py2exe build under wine 15 # Run py2exe build under wine
16 # 16 #
17 17
18 echo "=== Running wine python setup.py ===" 18 echo "=== Running wine python setup.py ==="
19 echo "" 19 echo ""
20 echo " Mutable Mamba version: ${NT_VERSION}" 20 echo " Mutable Mamba version: ${MM_VERSION}"
21 echo " Writing log to ${PY2EXE_LOG}." 21 echo " Writing log to ${PY2EXE_LOG}."
22 echo " ---" 22 echo " ---"
23 echo " Please make sure you have patched your py2exe run.exe" 23 echo " Please make sure you have patched your py2exe run.exe"
24 echo " and run_w.exe with PETools (they need to have their" 24 echo " and run_w.exe with PETools (they need to have their"
25 echo " executable size correctly set)." 25 echo " executable size correctly set)."