File tree Expand file tree Collapse file tree 9 files changed +9
-186
lines changed Expand file tree Collapse file tree 9 files changed +9
-186
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
-
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.0/Python-3.6.0.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.0 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
18
3
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
-
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.1/Python-3.6.1.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.1 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
18
3
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
3
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.2/Python-3.6.2.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.2 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- # Remove unneeded test directories, similar to the official Docker Python images:
18
- # https://github.com/docker-library/python
19
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
20
-
21
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
3
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.3/Python-3.6.3.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.3 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- # Remove unneeded test directories, similar to the official Docker Python images:
18
- # https://github.com/docker-library/python
19
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
20
-
21
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
3
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.4/Python-3.6.4.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.4 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- # Remove unneeded test directories, similar to the official Docker Python images:
18
- # https://github.com/docker-library/python
19
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
20
-
21
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
- # Build Deps: libraries/sqlite
4
3
5
- OUT_PREFIX=$1
6
-
7
- echo " Building Python…"
8
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.5/Python-3.6.5.tgz'
9
- curl -L $SOURCE_TARBALL | tar xz
10
- mv Python-3.6.5 src
11
- cd src
12
-
13
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14
- make
15
- make install
16
-
17
- # Remove unneeded test directories, similar to the official Docker Python images:
18
- # https://github.com/docker-library/python
19
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
20
-
21
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
3
4
- OUT_PREFIX=$1
5
- BIN_DIR=" $( cd " $( dirname " $0 " ) " /../.. || exit ; pwd) /bin"
6
- export BIN_DIR
7
-
8
- # shellcheck source=bin/utils
9
- source " $BIN_DIR /steps/sqlite3"
10
-
11
- sqlite3_version
12
- echo " Setting up SQLite3 Headers for $SQLITE3_VERSION "
13
- sqlite3_install " $OUT_PREFIX " " $SQLITE3_VERSION " 1
14
-
15
- echo " Building Python…"
16
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.6/Python-3.6.6.tgz'
17
- curl -L $SOURCE_TARBALL | tar xz
18
- mv Python-3.6.6 src
19
- cd src
20
-
21
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
22
- make
23
- make install
24
-
25
- # Remove unneeded test directories, similar to the official Docker Python images:
26
- # https://github.com/docker-library/python
27
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
28
-
29
- ln $OUT_PREFIX /bin/python3 $OUT_PREFIX /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
3
4
- OUT_PREFIX=$1
5
- BIN_DIR=" $( cd " $( dirname " $0 " ) " /../.. || exit ; pwd) /bin"
6
- export BIN_DIR
7
-
8
- # shellcheck source=bin/utils
9
- source " $BIN_DIR /steps/sqlite3"
10
-
11
- sqlite3_version
12
- echo " Setting up SQLite3 Headers for $SQLITE3_VERSION "
13
- sqlite3_install " $OUT_PREFIX " " $SQLITE3_VERSION " 1
14
-
15
- echo " Building Python…"
16
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.7/Python-3.6.7.tgz'
17
- curl -L $SOURCE_TARBALL | tar xz
18
- mv Python-3.6.7 src
19
- cd src
20
-
21
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
22
- make
23
- make install
24
-
25
- # Remove unneeded test directories, similar to the official Docker Python images:
26
- # https://github.com/docker-library/python
27
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
28
-
29
- # Remove spare /
30
- LOCATION=${OUT_PREFIX% ?}
31
-
32
- ln $LOCATION /bin/python3 $LOCATION /bin/python
4
+ source $( dirname $0 ) /python3
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
# Build Path: /app/.heroku/python/
3
3
4
- OUT_PREFIX=$1
5
- BIN_DIR=" $( cd " $( dirname " $0 " ) " /../.. || exit ; pwd) /bin"
6
- export BIN_DIR
7
-
8
- # shellcheck source=bin/utils
9
- source " $BIN_DIR /steps/sqlite3"
10
-
11
- sqlite3_version
12
- echo " Setting up SQLite3 Headers for $SQLITE3_VERSION "
13
- sqlite3_install " $OUT_PREFIX " " $SQLITE3_VERSION " 1
14
-
15
- echo " Building Python…"
16
- SOURCE_TARBALL=' https://python.org/ftp/python/3.6.8/Python-3.6.8.tgz'
17
- curl -L $SOURCE_TARBALL | tar xz
18
- mv Python-3.6.8 src
19
- cd src
20
-
21
- ./configure --prefix=$OUT_PREFIX --with-ensurepip=no
22
- make
23
- make install
24
-
25
- # Remove unneeded test directories, similar to the official Docker Python images:
26
- # https://github.com/docker-library/python
27
- find " ${OUT_PREFIX} " \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf ' {}' +
28
-
29
- # Remove spare /
30
- LOCATION=${OUT_PREFIX% ?}
31
-
32
- ln $LOCATION /bin/python3 $LOCATION /bin/python
4
+ source $( dirname $0 ) /python3
You can’t perform that action at this time.
0 commit comments