Changeset 926
- Timestamp:
- 12/09/07 11:40:11 (1 year ago)
- Location:
- trunk/jahtools/encoder
- Files:
-
- 13 added
- 1 modified
-
bootstrap.py (modified) (2 diffs)
-
encoder.xcodeproj (added)
-
encoder.xcodeproj/goncalo.mode1 (added)
-
encoder.xcodeproj/goncalo.pbxuser (added)
-
encoder.xcodeproj/project.pbxproj (added)
-
encoder_Prefix.pch (added)
-
English.lproj (added)
-
English.lproj/InfoPlist.strings (added)
-
English.lproj/MainMenu.nib (added)
-
English.lproj/MainMenu.nib/classes.nib (added)
-
English.lproj/MainMenu.nib/info.nib (added)
-
English.lproj/MainMenu.nib/keyedobjects.nib (added)
-
Info.plist (added)
-
main.m (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jahtools/encoder/bootstrap.py
r907 r926 7 7 import os.path 8 8 9 # This is required for the executable generated from py2exe10 # to use the preinstalled openlibraries python bindings11 if platform.system() == "Windows" or platform.system() == 'Microsoft':12 #sys.path.append(os.path.join(os.getcwd(), "..", "openlibraries", "python"))13 #sys.path.append(os.environ['PYTHONPATH'])14 pass15 16 9 # Initialise the dynamic linking functionality - note that the ubuntu amd64 17 10 # distro lacks the dl module, hence fallback to the non-symbolic values 18 elif platform.system( ) == "Linux":11 if platform.system( ) == "Linux": 19 12 try: 20 13 import dl … … 25 18 # Initialise openpluginlib 26 19 import openpluginlib 20 import jahwidgets 27 21 28 if platform.system() == "Darwin": 29 # Add search paths 30 import jahwidgets 31 olibs = jahwidgets.get_bundle_resources_directory_path() 32 olibs += os.path.join( "/../Frameworks" ) 33 34 plugin_paths = [ olibs + "/openassetlib/plugins", 35 olibs + "/openeffectslib/plugins", 36 olibs + "/openimagelib/plugins", 37 olibs + "/openmedialib/plugins", 38 olibs + "/openobjectlib/plugins" ] 39 40 openpluginlib.init( plugin_paths ) 41 elif platform.system() == "Windows" or platform.system() == 'Microsoft': 42 olibspath = os.path.join(os.getcwd(), "..", "openlibraries") 43 openpluginlib.init( os.path.join( olibspath, "plugins", "release" ), 44 os.path.join( olibspath, "kernels" ), 45 os.path.join( olibspath, "shaders" )) 46 else: 47 openpluginlib.init() 22 openpluginlib.init()
