From b4ddc0c3afd16d9f3da4ce94a62d239274241c18 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Thu, 9 Dec 2010 01:58:17 -0800 Subject: [PATCH] Copy python stuff (doesn't work) --- plat/win32/gtk-win/copyuser.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/plat/win32/gtk-win/copyuser.sh b/plat/win32/gtk-win/copyuser.sh index 8a098d59..2f995f77 100755 --- a/plat/win32/gtk-win/copyuser.sh +++ b/plat/win32/gtk-win/copyuser.sh @@ -9,6 +9,7 @@ usage() { } en_only=false +no_python=false min=false for arg; do @@ -20,6 +21,10 @@ for arg; do en_only=true shift ;; + --no-python) + no_python=true + shift + ;; --min) min=true shift @@ -177,13 +182,20 @@ copy_mime() { } copy_python() { - : + do_or_die cp -lfR $mgwpythoninstdir/*.exe "$dstdir/bin/" + do_or_die cp -lfR $mgwpythoninstdir/LICENSE.txt "$dstdir/bin/LICENSE-python.txt" + do_or_die cp -lfR $mgwpythoninstdir/DLLs $mgwpythoninstdir/Lib "$dstdir/bin/" + do_or_die cp -lfR $mgwpythonsystem32dir/python2*.dll "$dstdir/bin/" + do_or_die cp -lfR $srcdir/lib/python2.*/site-packages/* "$dstdir/bin/Lib/site-packages/" } copy_files if ! $en_only; then copy_locale fi +if ! $no_python; then + copy_python +fi copy_icons copy_mime