2019-07-23 08:57:39 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-ensurepip
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
|
|
|
|
|
|
|
rm "$1/usr/bin/2to3"
|
|
|
|
rm "$1/usr/bin/python"
|
2019-08-29 20:57:16 +00:00
|
|
|
|
|
|
|
# Make static library writable.
|
|
|
|
chmod -v u+w "$1/usr/lib/libpython"*.a
|