예제 #1
0
파일: Convert.py 프로젝트: digideskio/sasha
 def __init__(self):
     from sasha import sasha_configuration
     import os
     executable = sasha_configuration.get_binary('convert')
     if not os.path.isabs(executable):
         path = sasha_configuration.find_executable(executable)
         assert path is not None
예제 #2
0
파일: AudioDB.py 프로젝트: digideskio/sasha
 def __init__(self, name):
     from sasha import sasha_configuration
     import os
     executable = sasha_configuration.get_binary('audiodb')
     if not os.path.isabs(executable):
         path = sasha_configuration.find_executable(executable)
         assert path is not None
     path, asset_class = sasha_configuration.get_audiodb_parameters(name)
     self._asset_class = asset_class
     self._name = name
     self._path = path