def run(self): base_build_ext.run(self) if self.inplace: build_py = self.get_finalized_command('build_py') build_rustlib( module_def, build_py.get_package_dir(module_def.module_base_path))
def run(self): base_build_ext.run(self) if self.inplace: build_py = self.get_finalized_command('build_py') for func, module_base in spec._dist_build_funcs: base_path = None if module_base is not None: base_path = build_py.get_package_dir(module_base) func(base_path=base_path, inplace=True)
def run(self): base_class_2.run(self) if self.inplace: # from get_ext_fullpath() in distutils/command/build_ext.py module_path = module_name.split('.') package = '.'.join(module_path[:-1]) build_py = self.get_finalized_command('build_py') package_dir = build_py.get_package_dir(package) file_name = module_path[-1] + '.py' generate_mod(os.path.join(package_dir, file_name))
def get_ext_fullpath(self, ext_name): milksnake_dummy_ext = None for ext in spec.dist.ext_modules: if ext.name == ext_name: milksnake_dummy_ext = getattr(ext, 'milksnake_dummy_ext', None) break if milksnake_dummy_ext is None: return base_build_ext.get_ext_fullpath(self, ext_name) fullname = self.get_ext_fullname(ext_name) modpath = fullname.split('.') package = '.'.join(modpath[0:-1]) build_py = self.get_finalized_command('build_py') package_dir = os.path.abspath( build_py.get_package_dir(package)) return os.path.join(package_dir, milksnake_dummy_ext)
def get_package_dir(self, package): res = _build_py.get_package_dir(self, package) if self.distribution.src_root is not None: return os.path.join(self.distribution.src_root, res) return res
def get_package_dir(self, package): return os.path.join(self.distribution.source_dir, build_py.get_package_dir(self, package))
def get_package_dir(self, package): """Return full path to source package directory.""" return os.path.join(self.distribution.srcdir, _build_py.get_package_dir(self, package))
def run(self): build_ext.run(self) if self.inplace: build_py = self.get_finalized_command('build_py') build_libsourcemap(build_py.get_package_dir(PACKAGE))
def run(self): build_ext.run(self) if self.inplace: build_py = self.get_finalized_command('build_py') build_tutorial(build_py.get_package_dir(PACKAGE))
def run(self): build_ext.run(self) if self.inplace: build_py = self.get_finalized_command('build_py') build_libsymboizer(build_py.get_package_dir(PACKAGE))