diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 14:09:59 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-06 14:09:59 -0500 |
commit | af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 (patch) | |
tree | a80d4cfef7713f7aa26137c0da553358af4cd7b2 /chapter8/python.sh | |
parent | 783a4c48e04e81783848f0cb0f757f6a836d7f6e (diff) |
Add chapter8 script commands.
Diffstat (limited to 'chapter8/python.sh')
-rw-r--r-- | chapter8/python.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chapter8/python.sh b/chapter8/python.sh index 7a693aa..f0e1ce9 100644 --- a/chapter8/python.sh +++ b/chapter8/python.sh @@ -1,3 +1,19 @@ #!/bin/bash +./configure --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ + --with-ensurepip=yes +make + +make -j1 install + +install -v -dm755 /usr/share/doc/python-"${VERSION}"/html + +tar --strip-components=1 \ + --no-same-owner \ + --no-same-permissions \ + -C /usr/share/doc/python-"${VERSION}"/html \ + -xvf ../python-"${VERSION}"-docs-html.tar.bz2 |