From af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 6 Apr 2021 14:09:59 -0500 Subject: Add chapter8 script commands. --- chapter8/python.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'chapter8/python.sh') 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 -- cgit v1.2.3-54-g00ecf