From c89fcc1ce0ea99a20d7147033c5c04f00136207b Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Sat, 23 Jun 2012 12:26:47 +0200
Subject: [PATCH] don't include gfx examples in bundle

The examples don't really make a lof of sense without
shaders enabled
---
 deployment/macos/deploy.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/deployment/macos/deploy.py b/deployment/macos/deploy.py
index de10ec84c..611cad646 100644
--- a/deployment/macos/deploy.py
+++ b/deployment/macos/deploy.py
@@ -29,6 +29,7 @@ if opts.bundle:
   shutil.copytree('../../examples', 'DNG.app/Contents/examples')
   os.system('rm `find DNG.app/Contents/examples/ -name "*.pyc"` 2> /dev/null')
   os.system('rm -rf DNG.app/Contents/examples/code_fragments/')
+  os.system('rm -rf DNG.app/Contents/examples/gfx/')
   if opts.dmg:
     os.system('rm -rf openstructure-%s.dmg' % ost.VERSION)
     os.system('hdiutil create -srcFolder DNG.app openstructure-%s.dmg' % ost.VERSION)
-- 
GitLab