import os ext_modules = [ 'Producer', 'osg', 'osgDB', 'osgFX', 'osgGA', 'osgParticle', 'osgProducer', 'osgSim', # 'osgText', # disabled until someone can get the Python wrapper to work with OSG 1.2 'osgUtil', ] if os.getenv("GDAL_INSTALLED"): ext_modules.append('osgTerrain') if os.getenv("OPENAL_INSTALLED"): ext_modules.append('osgAL') if os.getenv("OSGSOUND_INSTALLED"): ext_modules.append('osgSound') node_kits = [ 'osgScript', ] plugins = [ 'osgdb_osgScript' ]