Example #1
0
def getCRAssetPaths():
    # import pdb; pdb.set_trace()
    paths = []
    cr_path = os.path.dirname(resource_filename(__name__, "cr_utils.py"))
    a_path = os.path.join(cr_path, 'assets')
    for root, dirs, files in os.walk(a_path):
        paths.append(root)
    return paths
Example #2
0
 def _findDefaultConfigFile(self):
     self._configpath = os.path.dirname(resource_filename(__name__, PluginManager._defaultConfigFile))
     return os.path.join(self._configpath, PluginManager._defaultConfigFile)