def __init__(self, name=None, inc_dir_rel=None, lib_dir_rel=None, libs=None): if libs is None: if name is not None: libs = dll.libraries(name) super(DependencyDLL, self).__init__(name, inc_dir_rel, lib_dir_rel, libs)
def __init__(self, name, libs=None): if libs is None: libs = dll.libraries(name) self.name = 'COPYLIB_' + dll.name_to_root(name) self.inc_dir = None self.lib_dir = '_' self.libs = libs self.found = 1 # Alway found to make its COPYLIB work self.cflags = '' self.lib_name = name self.file_name_test = dll.tester(name)