[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46168] trunk/blender: replace python3 command with python3.2, python3 isnt available on ubuntu.

Campbell Barton ideasman42 at gmail.com
Tue May 1 22:45:17 CEST 2012


Revision: 46168
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46168
Author:   campbellbarton
Date:     2012-05-01 20:45:16 +0000 (Tue, 01 May 2012)
Log Message:
-----------
replace python3 command with python3.2, python3 isnt available on ubuntu.

Modified Paths:
--------------
    trunk/blender/GNUmakefile
    trunk/blender/build_files/cmake/cmake_consistency_check.py
    trunk/blender/build_files/cmake/cmake_netbeans_project.py
    trunk/blender/build_files/cmake/cmake_qtcreator_project.py
    trunk/blender/build_files/cmake/cmake_static_check_cppcheck.py
    trunk/blender/build_files/cmake/cmake_static_check_sparse.py
    trunk/blender/build_files/cmake/cmake_static_check_splint.py
    trunk/blender/build_files/cmake/example_scripts/make_quicky.py
    trunk/blender/build_files/cmake/project_info.py
    trunk/blender/build_files/scons/tools/Blender.py
    trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py
    trunk/blender/doc/blender_file_format/BlendFileReader.py
    trunk/blender/intern/tools/bpy_introspect_ui.py
    trunk/blender/intern/tools/credits_svn_gen.py
    trunk/blender/intern/tools/dump_rna2xml.py
    trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner.py
    trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py
    trunk/blender/source/tools/check_style_c.py
    trunk/blender/source/tools/tag_release.py

Modified: trunk/blender/GNUmakefile
===================================================================
--- trunk/blender/GNUmakefile	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/GNUmakefile	2012-05-01 20:45:16 UTC (rev 46168)
@@ -202,31 +202,31 @@
 
 # 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 @@
 
 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 @@
 	@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:

Modified: trunk/blender/build_files/cmake/cmake_consistency_check.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_consistency_check.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_consistency_check.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/cmake_netbeans_project.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_netbeans_project.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_netbeans_project.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/cmake_qtcreator_project.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_qtcreator_project.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_qtcreator_project.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/cmake_static_check_cppcheck.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_static_check_cppcheck.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_static_check_cppcheck.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/cmake_static_check_sparse.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_static_check_sparse.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_static_check_sparse.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/cmake_static_check_splint.py
===================================================================
--- trunk/blender/build_files/cmake/cmake_static_check_splint.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/cmake_static_check_splint.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/cmake/example_scripts/make_quicky.py
===================================================================
--- trunk/blender/build_files/cmake/example_scripts/make_quicky.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/example_scripts/make_quicky.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ##### BEGIN GPL LICENSE BLOCK #####
 #

Modified: trunk/blender/build_files/cmake/project_info.py
===================================================================
--- trunk/blender/build_files/cmake/project_info.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/cmake/project_info.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/build_files/scons/tools/Blender.py
===================================================================
--- trunk/blender/build_files/scons/tools/Blender.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/build_files/scons/tools/Blender.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 """
 tools.BlenderEnvironment

Modified: trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py
===================================================================
--- trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/doc/blender_file_format/BlendFileDnaExporter_25.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/doc/blender_file_format/BlendFileReader.py
===================================================================
--- trunk/blender/doc/blender_file_format/BlendFileReader.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/doc/blender_file_format/BlendFileReader.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/intern/tools/bpy_introspect_ui.py
===================================================================
--- trunk/blender/intern/tools/bpy_introspect_ui.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/intern/tools/bpy_introspect_ui.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/intern/tools/credits_svn_gen.py
===================================================================
--- trunk/blender/intern/tools/credits_svn_gen.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/intern/tools/credits_svn_gen.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ##### BEGIN GPL LICENSE BLOCK #####
 #

Modified: trunk/blender/intern/tools/dump_rna2xml.py
===================================================================
--- trunk/blender/intern/tools/dump_rna2xml.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/intern/tools/dump_rna2xml.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3.2
 
 # ***** BEGIN GPL LICENSE BLOCK *****
 #

Modified: trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner.py
===================================================================
--- trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 """
 This script is used to help cleaning RNA api.

Modified: trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py
===================================================================
--- trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py	2012-05-01 20:45:03 UTC (rev 46167)
+++ trunk/blender/source/blender/makesrna/rna_cleanup/rna_cleaner_merge.py	2012-05-01 20:45:16 UTC (rev 46168)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#!/usr/bin/env python3.2
 
 import sys
 

Modified: trunk/blender/source/tools/check_style_c.py
===================================================================

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list