Home | History | Annotate | Download | only in command

Lines Matching refs:libraries

32     description = "build C/C++ libraries used by Python extensions"
36 "directory to build C/C++ libraries to"),
58 # List of libraries to build
59 self.libraries = None
61 # Compilation options for all libraries
73 # I think that C libraries are really just temporary build
83 self.libraries = self.distribution.libraries
84 if self.libraries:
85 self.check_library_list(self.libraries)
96 if not self.libraries:
116 self.build_libraries(self.libraries)
119 def check_library_list(self, libraries):
120 """Ensure that the list of libraries is valid.
122 `library` is presumably provided as a command option 'libraries'.
129 if not isinstance(libraries, list):
131 "'libraries' option must be a list of tuples"
133 for lib in libraries:
136 "each element of 'libraries' must a 2-tuple"
142 "first element of each tuple in 'libraries' " + \
152 "second element of each tuple in 'libraries' " + \
158 if not self.libraries:
162 for (lib_name, build_info) in self.libraries:
168 self.check_library_list(self.libraries)
170 for (lib_name, build_info) in self.libraries:
174 ("in 'libraries' option (library '%s'), "
181 def build_libraries(self, libraries):
182 for (lib_name, build_info) in libraries:
186 ("in 'libraries' option (library '%s'), " +