replace python3 command with python3.2, python3 isnt available on ubuntu.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 1 May 2012 20:45:16 +0000 (20:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 1 May 2012 20:45:16 +0000 (20:45 +0000)
14 files changed:
GNUmakefile
build_files/cmake/cmake_consistency_check.py
build_files/cmake/cmake_netbeans_project.py
build_files/cmake/cmake_qtcreator_project.py
build_files/cmake/cmake_static_check_cppcheck.py
build_files/cmake/cmake_static_check_sparse.py
build_files/cmake/cmake_static_check_splint.py
build_files/cmake/example_scripts/make_quicky.py
build_files/cmake/project_info.py
build_files/scons/tools/Blender.py
doc/blender_file_format/BlendFileDnaExporter_25.py
doc/blender_file_format/BlendFileReader.py
source/blender/makesrna/rna_cleanup/rna_cleaner.py
source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py

index fcbc79e26a8ea0b6748811b3996a3be16ff384cf..ebd2db60e0ab6431eb91ad336f00d20d5c5578a3 100644 (file)
@@ -202,31 +202,31 @@ test:
 
 # run pep8 check check on scripts we distribute.
 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"
 
 # run some checks on our cmakefiles.
 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"
 
 # run deprecation tests, see if we have anything to remove.
 test_deprecated:
-       python3 source/tests/check_deprecated.py
+       python3.2 source/tests/check_deprecated.py
 
 test_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_qtcreator:
-       python3 build_files/cmake/cmake_qtcreator_project.py $(BUILD_DIR)
+       python3.2 build_files/cmake/cmake_qtcreator_project.py $(BUILD_DIR)
 
 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:
        cmake -G"Eclipse CDT4 - Unix Makefiles" -H$(BLENDER_DIR) -B$(BUILD_DIR)
@@ -238,21 +238,21 @@ project_eclipse:
 
 check_cppcheck:
        $(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:
        $(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:
        $(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:
-       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:
-       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
@@ -273,7 +273,7 @@ doc_dna:
        @echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'"
 
 doc_man:
-       python3 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender
+       python3.2 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender
 
 
 clean:
index 65a9442a90d75943fc8f58530b1de3e64053baa1..072bbb12fb36a49427f3f89e24382befdd3f2b12 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index 45c19adff36be1b51da34bf6a2e83bd4e825ac24..aa6124ac8fe109bd9ed9d9d20eb1d194f116f0a5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index 8cabc75e42679b6756f5fd0204f2a41e59e1bfe6..32d20489e6aa55a95adf6e3e3a7c7dbdaaf48188 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index 436470a702064dec862ffc3e1673099f1999186e..c340ca5c458b51817ebfa127c39315f406e62e0a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index bd7629e42295a3e852a9ec8315a77076403f6685..db1b14e7acbd8daff504a209352d29734405f051 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index edfefa3d0688a290719bcc3b3c0f48906bffc2d3..f538fa612d02ce02a0d5d0d884740fbe6437c277 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index a4e0d3371f16e5de9cd417f4c17c4a82f950c781..9b853fc01d493021a241f81d5a70869b81ed61a2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ##### BEGIN GPL LICENSE BLOCK #####
 #
index 3f64ac51a4d374a29a6294fd0b786e4d5469af63..a80ae623eb99d4f17cc3e694b2e3fa9771ad1f1e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index 5a066470225eadc19a66f35cfb148b31bf235446..eb3d4fd04b84b8321934ebf5266a5e222a4544c7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 """
 tools.BlenderEnvironment
index a201f618fbb0c1bc90f95dce0b4a25dcbff3af5a..b7b89c8926836e7b2a1efe4dcda3ca4a61da1518 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index 88eb71b3ce250482400cabce80d3fa82391ad325..b7091ad8ff559a5f4dbff289ab575c4622ba5b46 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #
index ca610eeb0246f6f3ae75cf30b866c886663860ab..b75d177d80989c0f0aead05c21db310e9a21398e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 """
 This script is used to help cleaning RNA api.
index 89d95b5a62785b281b06fe3831b4ec34caac8a80..758511059915c6cf3627f207dc6ad2fa1575093c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 import sys