Lines Matching full:libraries
30 description = "build C/C++ libraries used by Python extensions"
34 "directory to build C/C++ libraries to"),
56 # List of libraries to build
57 self.libraries = None
59 # Compilation options for all libraries
71 # I think that C libraries are really just temporary build
81 self.libraries = self.distribution.libraries
82 if self.libraries:
83 self.check_library_list(self.libraries)
95 if not self.libraries:
115 self.build_libraries(self.libraries)
118 def check_library_list(self, libraries): argument
119 """Ensure that the list of libraries is valid.
121 `library` is presumably provided as a command option 'libraries'.
128 if not isinstance(libraries, list):
130 "'libraries' option must be a list of tuples")
132 for lib in libraries:
135 "each element of 'libraries' must a 2-tuple")
141 "first element of each tuple in 'libraries' "
150 "second element of each tuple in 'libraries' "
157 if not self.libraries:
161 for (lib_name, build_info) in self.libraries:
167 self.check_library_list(self.libraries)
169 for (lib_name, build_info) in self.libraries:
173 "in 'libraries' option (library '%s'), "
181 def build_libraries(self, libraries): argument
182 for (lib_name, build_info) in libraries:
186 "in 'libraries' option (library '%s'), "