def swig_sources(self, sources, extension): try: return build_ext.swig_sources(self, sources, extension) except DistutilsExecError: print('\nError: SWIG failed. Is Open Babel installed?\n' 'You may need to manually specify the location of Open Babel include and library directories. ' 'For example:\n' ' python setup.py build_ext -I/usr/local/include/openbabel-2.0 -L/usr/local/lib\n' ' python setup.py install') sys.exit(1)
def swig_sources(self, sources, extension): try: return build_ext.swig_sources(self, sources, extension) except DistutilsExecError: print('\nError: SWIG failed. Is Open Babel installed?', 'You may need to manually specify the location of Open Babel include and library directories. ' 'For example:', ' python setup.py build_ext -I{} -L{}'.format(self.ob_include_dir, self.ob_library_dir), ' python setup.py install', sep='\n') sys.exit(1)