Skip to content

Commit df920fe

Browse files
Switch to python3 by default
1 parent 969594a commit df920fe

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#
1111
#******************************************************************************
1212

13-
project (MantaFlow)
1413
cmake_minimum_required(VERSION 2.8)
14+
project (MantaFlow)
1515

1616
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/tools/cmake/")
1717
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
@@ -117,7 +117,7 @@ endif()
117117

118118
# translate option into python version string
119119
if(NOT PYTHON_VERSION)
120-
set(PYTHON_VER_ID) # use any...
120+
set(PYTHON_VER_ID 3) # use version 3
121121
else()
122122
set(PYTHON_VER_ID ${PYTHON_VERSION})
123123
endif()

tensorflow/example2_liquid/tf_train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2
1+
#!/usr/bin/python3
22

33
# ----------------------------------------------------------------------------
44
#

tools/getGitVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/python3
22
import os
33
import shutil
44
import sys

tools/tests/quickRunTfTests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# assume it's called from tools/tests
44
os.chdir("../../tensorflow")
55

6-
pyExe = "python"
6+
pyExe = "python3"
77
mantaExe = "/Users/sinithue/devel/manta/buildMaster/manta"
88
dataPath = "./data"
99

tools/tests/runTests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/python3
22
#
33
# Simple script to run all base tests
44
# The test scripts are named test_XXXX_description.py

0 commit comments

Comments
 (0)