blob: 3b3866fff16963f44bd40425aa169c2783cc2cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh -e
./configure \
--prefix=/usr \
--without-ensurepip
make
make DESTDIR="$1" install
rm "$1/usr/bin/2to3"
rm "$1/usr/bin/python"
# Make static library writable.
chmod -v u+w "$1/usr/lib/libpython"*.a
|