MCPcopy Create free account
hub / github.com/numpy/numpy / build_library_sources

Method build_library_sources

numpy/distutils/command/build_src.py:280–302  ·  view source on GitHub ↗
(self, lib_name, build_info)

Source from the content-addressed store, hash-verified

278 self.py_modules[:] = new_py_modules
279
280 def build_library_sources(self, lib_name, build_info):
281 sources = list(build_info.get('sources', []))
282
283 if not sources:
284 return
285
286 log.info('building library "%s" sources' % (lib_name))
287
288 sources = self.generate_sources(sources, (lib_name, build_info))
289
290 sources = self.template_sources(sources, (lib_name, build_info))
291
292 sources, h_files = self.filter_h_files(sources)
293
294 if h_files:
295 log.info('%s - nothing done with h_files = %s',
296 self.package, h_files)
297
298 #for f in h_files:
299 # self.distribution.headers.append((lib_name,f))
300
301 build_info['sources'] = sources
302 return
303
304 def build_extension_sources(self, ext):
305

Callers 1

build_sourcesMethod · 0.95

Calls 5

generate_sourcesMethod · 0.95
template_sourcesMethod · 0.95
filter_h_filesMethod · 0.95
infoMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected