Exemple #1
0
 def write_manifest(self):
     if IS_WINDOWS_PLATFORM:
         # Remove un-necessary scripts grabbed by MANIFEST.in
         for filename in self.filelist.files[:]:
             if filename in ('scripts/salt', 'scripts/salt-cloud',
                             'scripts/salt-key', 'scripts/salt-master',
                             'scripts/salt-run', 'scripts/salt-ssh',
                             'scripts/salt-syndic'):
                 self.filelist.files.pop(
                     self.filelist.files.index(filename))
     return sdist.write_manifest(self)
Exemple #2
0
 def write_manifest(self):
     if IS_WINDOWS_PLATFORM:
         # Remove un-necessary scripts grabbed by MANIFEST.in
         for filename in self.filelist.files[:]:
             if filename in ('scripts/salt',
                             'scripts/salt-cloud',
                             'scripts/salt-key',
                             'scripts/salt-master',
                             'scripts/salt-run',
                             'scripts/salt-ssh',
                             'scripts/salt-syndic'):
                 self.filelist.files.pop(
                     self.filelist.files.index(filename)
                 )
     return sdist.write_manifest(self)