* don't copy .pyc files
authorNathan Letwory <nathan@letworyinteractive.com>
Fri, 15 Jan 2010 09:59:42 +0000 (09:59 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Fri, 15 Jan 2010 09:59:42 +0000 (09:59 +0000)
SConstruct

index 83570cb5c1a28b070c471ee8940ce56c97419a07..c56ee99bb80757e255cb75a20ebb765b79c116d5 100644 (file)
@@ -500,7 +500,7 @@ if  env['OURPLATFORM']!='darwin':
                                        else:                                           dir = os.path.join(env['BF_INSTALLDIR'], '.blender')                            
                                        dir += os.sep + os.path.basename(scriptpath) + dp[len(scriptpath):]
                                        
-                                       source=[os.path.join(dp, f) for f in df]
+                                       source=[os.path.join(dp, f) for f in df if f[-3:]!='pyc']
                                        scriptinstall.append(env.Install(dir=dir,source=source))
 
 #-- icons