Add define macros to configuration Add the given sequence of macro name and value duples to the beginning of the define_macros list This list will be visible to all extension modules of the current package.
(self, macros)
| 1351 | ### XXX Implement add_py_modules |
| 1352 | |
| 1353 | def add_define_macros(self, macros): |
| 1354 | """Add define macros to configuration |
| 1355 | |
| 1356 | Add the given sequence of macro name and value duples to the beginning |
| 1357 | of the define_macros list This list will be visible to all extension |
| 1358 | modules of the current package. |
| 1359 | """ |
| 1360 | dist = self.get_distribution() |
| 1361 | if dist is not None: |
| 1362 | if not hasattr(dist, 'define_macros'): |
| 1363 | dist.define_macros = [] |
| 1364 | dist.define_macros.extend(macros) |
| 1365 | else: |
| 1366 | self.define_macros.extend(macros) |
| 1367 | |
| 1368 | |
| 1369 | def add_include_dirs(self,*paths): |
no test coverage detected