def get_resource_options(self): labels, tasks = [], {} exe = self.get_get_exe() if exe is not None: label = 'Use %s' % (exe,) if label not in labels: labels.append(label) tasks[label] = ('use', exe, self.get_get_version(exe)) return ResourcePage.get_resource_options (self, labels, tasks)
def get_resource_options(self): labels, tasks = [], {} dll = self.get_msvcp60_dll () if dll is not None: label = 'Use %s' % (dll,) if label not in labels: labels.append (label) tasks[label] = ('use', dll, None) return ResourcePage.get_resource_options (self, labels, tasks)
def get_resource_options(self): labels, tasks = [], {} svn = self.get_svn_exe() if svn is not None: version = self.get_svn_version(svn) label = 'Use %s %s' % (svn, version) if label not in labels: labels.append(label) tasks[label] = ('use', svn, version) return ResourcePage.get_resource_options (self, labels, tasks)
def get_resource_options(self): labels = [] tasks = {} for v in ['3']: dll = self.get_tiff_dll(v) if dll is None: continue version = self.get_tiff_version(dll) if version is not None: label = '%s %s' % (dll, version) if label in labels: continue labels.append(label) tasks[labels[-1]] = ('use', dll, version) return ResourcePage.get_resource_options (self, labels, tasks)
def get_resource_options(self): labels = [] tasks = {} prefix = self.get ('mingw prefix') dll = os.path.join(prefix,'bin','libfftw3-3.dll') if os.path.isfile (dll): label = 'Use %s ' % dll labels.append (label) tasks[label] = ('use', dll, None) ''' for p in glob.glob(os.path.join(self.prefix, '?_?_?')): v = os.path.basename (p).replace ('_','.') dlls = map(lambda n: os.path.splitext(os.path.basename(n))[0], glob.glob (os.path.join (p, '*.dll'))) if dlls: label = '%s/{%s}.dll %s' % (p,','.join (dlls), v) if label in labels: continue labels.append (label) tasks[label] = ('use', p, v) ''' return ResourcePage.get_resource_options (self, labels, tasks)