diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-17 23:43:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-17 23:43:59 +0400 |
commit | 8c6057d5e3797478a2d62e37843ded7b8e84436e (patch) | |
tree | 864bbac104e273d189097c1d68010efc8b638ad0 /SConstruct | |
parent | 14e103b8278e43ba5c8d01dbb055d5cd81799689 (diff) |
exclude addons_contrib/ for release builds.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index b5075aa4345..cd4e31efeff 100644 --- a/SConstruct +++ b/SConstruct @@ -70,6 +70,7 @@ BlenderEnvironment = Blender.BlenderEnvironment B = Blender VERSION = btools.VERSION # This is used in creating the local config directories +VERSION_RELEASE_CYCLE = btools.VERSION_RELEASE_CYCLE ### globals ### platform = sys.platform @@ -524,6 +525,10 @@ if env['OURPLATFORM']!='darwin': if '__pycache__' in dn: # py3.2 cache dir dn.remove('__pycache__') + # only for testing builds + if VERSION_RELEASE_CYCLE == "release" and "addons_contrib" in dn: + dn.remove('addons_contrib') + dir = os.path.join(env['BF_INSTALLDIR'], VERSION) dir += os.sep + os.path.basename(scriptpath) + dp[len(scriptpath):] |