def configure_step(self, *args, **kwargs): """Configure build using 'python configure'.""" PythonPackage.configure_step(self, *args, **kwargs) cmd = ' '.join([ self.cfg['preconfigopts'], self.python_cmd, self.cfg['configopts'] ]) run_cmd(cmd, log_all=True)
def configure_step(self): """ Configure and Test if python module is loaded """ if not get_software_root('Python'): self.log.error("Python module not loaded") ConfigureMake.configure_step(self) try: os.chdir('python') PythonPackage.configure_step(self) os.chdir('..') except OSError, err: self.log.error("Failed to configure libxml2 Python bindings: %s" % err)
def configure_step(self): """ Configure and Test if python module is loaded """ if not get_software_root('Python'): raise EasyBuildError("Python module not loaded") ConfigureMake.configure_step(self) try: os.chdir('python') PythonPackage.configure_step(self) os.chdir('..') except OSError, err: raise EasyBuildError( "Failed to configure libxml2 Python bindings: %s", err)
def install_step(self): """ Install libxml2 and install python bindings """ ConfigureMake.install_step(self) try: # We can only do the python bindings after the initial installation # since setup.py expects to find the include dir in the installation path # and that only exists after installation os.chdir('python') PythonPackage.configure_step(self) # set cflags to point to include folder for the compilation step to succeed env.setvar('CFLAGS', "-I../include") PythonPackage.build_step(self) PythonPackage.install_step(self) os.chdir('..') except OSError, err: raise EasyBuildError("Failed to install libxml2 Python bindings: %s", err)
def install_step(self): """ Custom install step for libxml2; also build Python bindings ourselves if desired (only for older libxml2 versions """ ConfigureMake.install_step(self) if self.with_python_bindings and LooseVersion(self.version) < LooseVersion('2.9.2'): try: # We can only do the Python bindings after the initial installation # since setup.py expects to find the include dir in the installation path # and that only exists after installation os.chdir('python') PythonPackage.configure_step(self) # set cflags to point to include folder for the compilation step to succeed env.setvar('CFLAGS', "-I../include") PythonPackage.build_step(self) PythonPackage.install_step(self) os.chdir('..') except OSError as err: raise EasyBuildError("Failed to install libxml2 Python bindings: %s", err)
def configure_step(self): PythonPackage.configure_step(self) return CMakeMake.configure_step(self)
def configure_step(self): """Configure EggLib build/install procedure.""" # only need to configure Python library here, configuration of C++ library is done in install step PythonPackage.configure_step(self)
def configure_step(self, *args, **kwargs): """Configure build using 'python configure'.""" PythonPackage.configure_step(self, *args, **kwargs) cmd = ' '.join([self.cfg['preconfigopts'], self.python_cmd, self.cfg['configopts']]) run_cmd(cmd, log_all=True)
def configure_step(self, *args, **kwargs): """Main configuration using cmake""" PythonPackage.configure_step(self, *args, **kwargs) return CMakeMake.configure_step(self, *args, **kwargs)