Skip to content

Commit 1e3cb6c

Browse files
committed
Ensure python3 executable exists, and version is in ./python directory.
1 parent 5dbdc53 commit 1e3cb6c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ script:
3333
- du -sk python/
3434
- cd python
3535
- otool -L bin/python3.6
36-
- ./bin/python3.6 -c 'import ssl; print(ssl.OPENSSL_VERSION)'
37-
- ./bin/python3.6 -m pip --version
36+
- echo "Python 3.6.5" >> ./version.txt
37+
- cp ./bin/python3.6 ./bin/python3
38+
- ./bin/python3 -c 'import ssl; print(ssl.OPENSSL_VERSION)'
39+
- ./bin/python3 -m pip --version
3840

3941
# Reduce stand-alone Python and upload it
4042
- cd "$PROJECT_DIR"

build_python.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ large_echo "Configure Python"
2222
./configure MACOSX_DEPLOYMENT_TARGET=10.9 CPPFLAGS="-I$OPENSSL_ROOT/include" LDFLAGS="-L$OPENSSL_ROOT/lib" --prefix="$CURRENT_DIR/python"
2323
large_echo "Build Python"
2424
make altinstall
25-
make bininstall

0 commit comments

Comments
 (0)