Copy python stuff (doesn't work)

This commit is contained in:
Yevgen Muntyan 2010-12-09 01:58:17 -08:00
parent b389eb93f5
commit b4ddc0c3af

View File

@ -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