コード例 #1
0
 def __init__(
     self, 
     path=None, 
     session=None,
     ):
     PackageManager.__init__(
         self, 
         path=path,
         session=session,
         )
コード例 #2
0
 def __init__(
     self, 
     packagesystem_path=None, 
     score_template=None, 
     session=None,
     ):
     PackageManager.__init__(
         self, 
         packagesystem_path=packagesystem_path, 
         session=session,
         )
     self.score_template = score_template
コード例 #3
0
ファイル: MaterialManager.py プロジェクト: willingc/abjad
 def __init__(self, path=None, session=None):
     if path is not None:
         assert os.path.sep in path
     PackageManager.__init__(
         self,
         path=path,
         session=session,
         )
     self._generic_output_name = None
     self._generic_class_name = 'material manager'
     self._output_module_import_statements = []
     self._user_input_wrapper_in_memory = None
コード例 #4
0
 def __init__(self, packagesystem_path=None, session=None):
     from scoremanager import managers
     from scoremanager import wranglers
     PackageManager.__init__(
         self, 
         packagesystem_path, 
         session=session,
         )
     self._build_directory_manager = \
         managers.BuildDirectoryManager(
         score_package_path=packagesystem_path, 
         session=self.session,
         )
     self._distribution_directory_manager = \
         managers.DistributionDirectoryManager(
         score_package_path=packagesystem_path, 
         session=self.session,
         )
     instrumentation_module_file_path = os.path.join(
         self.filesystem_path,
         'instrumentation.py',
         )
     self._instrumentation_module_manager = \
         managers.FileManager(
         instrumentation_module_file_path,
         session=self.session,
         )
     self._material_package_wrangler = \
         wranglers.MaterialPackageWrangler(
         session=self.session,
         )
     self._material_package_manager_wrangler = \
         wranglers.MaterialPackageManagerWrangler(
         session=self.session,
         )
     filesystem_path = os.path.join(self.filesystem_path, 'score_templates')
     self._score_template_directory_manager = \
         managers.DirectoryManager(
         filesystem_path=filesystem_path,
         session=self.session,
         )
     self._segment_wrangler = \
         wranglers.SegmentPackageWrangler(
         session=self.session,
         )
     self._stylesheet_wrangler = \
         wranglers.StylesheetFileWrangler(
         session=self.session,
         )