(self)
| 334 | ) |
| 335 | |
| 336 | def run(self): |
| 337 | lib_path = os.path.join( |
| 338 | BOOST_LIBRARYDIR, 'lib{}.a'.format(self.get_boost_python_libname()) |
| 339 | ) |
| 340 | if os.path.exists(lib_path) and not self.force: |
| 341 | log.info( |
| 342 | 'Boost_python library `{}` for current ' |
| 343 | 'python version already present, skipping build'.format( |
| 344 | lib_path |
| 345 | ) |
| 346 | ) |
| 347 | return |
| 348 | |
| 349 | self.configure_omim() |
| 350 | self.create_boost_config() |
| 351 | self.build() |
| 352 | |
| 353 | |
| 354 | class BuildOmimBindingCommand(build_ext, object): |
no test coverage detected