Exemplo n.º 1
0
 def store(self, filename, pkg):
     meta = ipkg_meta_from_pkg(pkg)
     p = BuildManifest(self.sections, meta, pkg.executables)
     if not op.exists(op.dirname(filename)):
         os.makedirs(op.dirname(filename))
     p.write(filename)
Exemplo n.º 2
0
 def store(self, filename, pkg):
     meta = build_manifest_meta_from_pkg(pkg)
     p = BuildManifest(self.sections, meta, pkg.executables)
     if not op.exists(op.dirname(filename)):
         os.makedirs(op.dirname(filename))
     p.write(filename)