aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/python.sh
blob: fd7b1a69c272e84d120c1673fe346d022f4c24f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<<<<<<< HEAD
#!/bin/bash
set -e

sed 's|cpython/||' -i Include/cpython/pystate.h &&

./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
=======
#!/bin/bash
set -e

./configure --prefix=/usr \
            --enable-shared \
            --with-system-expat \
            --with-system-ffi \
            --with-ensurepip=yes \
	    --enable-optimizations &&

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
>>>>>>> 6132c19762b7d74ba7ad06e291b6401c632bbc28