Mercurial > rinkhals
changeset 313:65f09c9fe8cb
Some fixes and tweaks to wine-py2exe.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 18:40:36 +0000 |
parents | dd1ffee5ccf5 |
children | 2db4673ea6c2 |
files | wine-py2exe |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/wine-py2exe Sat Sep 05 18:30:51 2009 +0000 +++ b/wine-py2exe Sat Sep 05 18:40:36 2009 +0000 @@ -12,8 +12,7 @@ WINE_PYTHON=`winepath "C:/Python25"` if [ "x$TEMPLATE_FOLDER" = "x" ] ; then - echo "Please specify a template folder!" - exit 1 + TEMPLATE_FOLDER="py2exe-template" fi # @@ -51,12 +50,17 @@ cp -v "${WINE_PYTHON}/Lib/site-packages/pygame"/*.dll "${DEST}" cp -v "${TEMPLATE_FOLDER}/python25.dll" "${DEST}" +cp -v "${TEMPLATE_FOLDER}/msvcr71.dll" "${DEST}" mkdir -p "${DEST}/share/pgu/themes" echo "'${WINE_PYTHON}/share/pgu/themes/default' -> '${DEST}/share/pgu/themes/'" cp -R "${WINE_PYTHON}/share/pgu/themes/default" "${DEST}/share/pgu/themes/" echo "'data' -> '${DEST}/data'" svn export -q "data" "${DEST}/data" +echo "'${WINE_PYTHON}/Lib/site-packages/pygame' -> '${DEST}'" +rm -rf "${DEST}/pygame" +cp -R "${WINE_PYTHON}/Lib/site-packages/pygame" "${DEST}" + echo "" #