[Bf-blender-cvs] [615414f] master: SCons: Ignore .svn folder when installing site-packages

Sergey Sharybin noreply at git.blender.org
Wed Apr 29 11:30:57 CEST 2015


Commit: 615414fa364f8772b1a1bee04ec9372ef73baee1
Author: Sergey Sharybin
Date:   Wed Apr 29 14:29:42 2015 +0500
Branches: master
https://developer.blender.org/rB615414fa364f8772b1a1bee04ec9372ef73baee1

SCons: Ignore .svn folder when installing site-packages

===================================================================

M	build_files/scons/tools/Blender.py

===================================================================

diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index e751be3..6e7417c 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -670,6 +670,8 @@ def WinPyBundle(target=None, source=None, env=None):
     py_dir += '/release/site-packages'
     # grr, we have to do one by one because the dir exists
     for f in os.listdir(py_dir):
+        if f == '.svn':
+            continue
         fn_src = os.path.join(py_dir, f)
         fn_dst = os.path.join(py_target, f)




More information about the Bf-blender-cvs mailing list