def __init__(self, score_package_path=None, session=None):
     score_directory_path = \
         self.configuration.packagesystem_path_to_filesystem_path(
         score_package_path)
     filesystem_path = os.path.join(score_directory_path, 'distribution')
     DirectoryManager.__init__(
         self,
         filesystem_path=filesystem_path,
         session=session)
Esempio n. 2
0
 def __init__(self, packagesystem_path=None, session=None):
     if packagesystem_path is None or \
         os.path.sep not in packagesystem_path:
         filesystem_path = \
             self.configuration.packagesystem_path_to_filesystem_path(
             packagesystem_path)
     else:
         filesystem_path = packagesystem_path
     assert '.' not in filesystem_path, repr(filesystem_path)
     DirectoryManager.__init__(self, 
         filesystem_path=filesystem_path, 
         session=session,
         )
     packagesystem_path = \
         self.configuration.filesystem_path_to_packagesystem_path(
         filesystem_path)
     assert os.path.sep not in packagesystem_path, repr(packagesystem_path)
     self._package_path = packagesystem_path