Copy python stuff (doesn't work)
This commit is contained in:
parent
b389eb93f5
commit
b4ddc0c3af
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user