replace python3 command with python3.2, python3 isnt available on ubuntu.

This commit is contained in:
Campbell Barton
2012-05-01 20:45:16 +00:00
parent ac4b757287
commit c6051ea87b
14 changed files with 25 additions and 25 deletions

View File

@@ -202,31 +202,31 @@ test:
# run pep8 check check on scripts we distribute. # run pep8 check check on scripts we distribute.
test_pep8: test_pep8:
python3 source/tests/pep8.py > test_pep8.log 2>&1 python3.2 source/tests/pep8.py > test_pep8.log 2>&1
@echo "written: test_pep8.log" @echo "written: test_pep8.log"
# run some checks on our cmakefiles. # run some checks on our cmakefiles.
test_cmake: test_cmake:
python3 build_files/cmake/cmake_consistency_check.py > test_cmake_consistency.log 2>&1 python3.2 build_files/cmake/cmake_consistency_check.py > test_cmake_consistency.log 2>&1
@echo "written: test_cmake_consistency.log" @echo "written: test_cmake_consistency.log"
# run deprecation tests, see if we have anything to remove. # run deprecation tests, see if we have anything to remove.
test_deprecated: test_deprecated:
python3 source/tests/check_deprecated.py python3.2 source/tests/check_deprecated.py
test_style: test_style:
# run our own checks on C/C++ style # run our own checks on C/C++ style
PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/source/blender $(BLENDER_DIR)/source/creator PYTHONIOENCODING=utf_8 python3.2 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/source/blender $(BLENDER_DIR)/source/creator
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Project Files # Project Files
# #
project_qtcreator: project_qtcreator:
python3 build_files/cmake/cmake_qtcreator_project.py $(BUILD_DIR) python3.2 build_files/cmake/cmake_qtcreator_project.py $(BUILD_DIR)
project_netbeans: project_netbeans:
python3 build_files/cmake/cmake_netbeans_project.py $(BUILD_DIR) python3.2 build_files/cmake/cmake_netbeans_project.py $(BUILD_DIR)
project_eclipse: project_eclipse:
cmake -G"Eclipse CDT4 - Unix Makefiles" -H$(BLENDER_DIR) -B$(BUILD_DIR) cmake -G"Eclipse CDT4 - Unix Makefiles" -H$(BLENDER_DIR) -B$(BUILD_DIR)
@@ -238,21 +238,21 @@ project_eclipse:
check_cppcheck: check_cppcheck:
$(CMAKE_CONFIG) $(CMAKE_CONFIG)
cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py cd $(BUILD_DIR) ; python3.2 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py
check_splint: check_splint:
$(CMAKE_CONFIG) $(CMAKE_CONFIG)
cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_splint.py cd $(BUILD_DIR) ; python3.2 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_splint.py
check_sparse: check_sparse:
$(CMAKE_CONFIG) $(CMAKE_CONFIG)
cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_sparse.py cd $(BUILD_DIR) ; python3.2 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_sparse.py
check_spelling_py: check_spelling_py:
cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/release/scripts cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3.2 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/release/scripts
check_spelling_c: check_spelling_c:
cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/source cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3.2 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/source
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Documentation # Documentation
@@ -273,7 +273,7 @@ doc_dna:
@echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'" @echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'"
doc_man: doc_man:
python3 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender python3.2 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender
clean: clean:

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python #!/usr/bin/env python3.2
# ##### BEGIN GPL LICENSE BLOCK ##### # ##### BEGIN GPL LICENSE BLOCK #####
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3.2
""" """
tools.BlenderEnvironment tools.BlenderEnvironment

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python3 #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python3 #!/usr/bin/env python3.2
# ***** BEGIN GPL LICENSE BLOCK ***** # ***** BEGIN GPL LICENSE BLOCK *****
# #

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python3 #!/usr/bin/env python3.2
""" """
This script is used to help cleaning RNA api. This script is used to help cleaning RNA api.

View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python3 #!/usr/bin/env python3.2
import sys import sys