Home | History | Annotate | Download | only in command

Lines Matching refs:extension

3 Implements the Distutils 'build_ext' command, for building extension
16 from distutils.extension import Extension
22 # An extension name is just a dot-separated list of Python NAMEs (ie.
58 "directory for compiled extension modules"),
281 # Extension instances. See the documentation for Extension (in
282 # distutils.extension) for details.
288 # Extension instances do except the name, with a few things being
289 # differently named. We convert these 2-tuples to Extension
344 Extension objects. We also support the old-style list of 2-tuples,
346 Extension instances here.
353 "'ext_modules' option must be a list of Extension instances")
356 if isinstance(ext, Extension):
358 # by Extension constructor)
363 "Extension instance or 2-tuple")
368 "ext_modules for extension '%s'"
369 "-- please convert to Extension instance", ext_name)
375 "must be the extension name (a string)")
383 # to an Extension instance.
384 ext = Extension(ext_name, build_info['sources'])
482 self.warn('building extension "%s" failed: %s' %
489 "in 'ext_modules' option (extension '%s'), "
497 log.debug("skipping '%s' extension (up-to-date)", ext.name)
500 log.info("building '%s' extension", ext.name)
514 # - 'extra_compile_args' in Extension object
560 def swig_sources(self, sources, extension):
579 ('-c++' in extension.swig_opts):
604 for o in extension.swig_opts:
637 # (extension names, filenames, whatever)
639 """Returns the path of the filename for a given extension.
666 """Returns the fullname of a given extension name.
675 r"""Convert the name of an extension (eg. "foo.bar") into the name
685 """Return the list of symbols that a shared extension has to
697 shared extension. On most platforms, this is just 'ext.libraries';