(self)
| 318 | ) |
| 319 | |
| 320 | def build(self): |
| 321 | if os.path.exists(self.get_boost_python_builddir()): |
| 322 | self.clean() |
| 323 | |
| 324 | with chdir(BOOST_ROOT): |
| 325 | spawn( |
| 326 | [ |
| 327 | './b2', |
| 328 | '--user-config={}'.format(self.get_boost_config_path()), |
| 329 | '--with-python', |
| 330 | 'python={}'.format(get_python_version()), |
| 331 | '--build-dir={}'.format(self.get_boost_python_builddir()), |
| 332 | 'cxxflags="-fPIC"', |
| 333 | ] |
| 334 | ) |
| 335 | |
| 336 | def run(self): |
| 337 | lib_path = os.path.join( |
no test coverage detected