Add paths to configuration include directories. Add the given sequence of paths to the beginning of the include_dirs list. This list will be visible to all extension modules of the current package.
(self,*paths)
| 1367 | |
| 1368 | |
| 1369 | def add_include_dirs(self,*paths): |
| 1370 | """Add paths to configuration include directories. |
| 1371 | |
| 1372 | Add the given sequence of paths to the beginning of the include_dirs |
| 1373 | list. This list will be visible to all extension modules of the |
| 1374 | current package. |
| 1375 | """ |
| 1376 | include_dirs = self.paths(paths) |
| 1377 | dist = self.get_distribution() |
| 1378 | if dist is not None: |
| 1379 | if dist.include_dirs is None: |
| 1380 | dist.include_dirs = [] |
| 1381 | dist.include_dirs.extend(include_dirs) |
| 1382 | else: |
| 1383 | self.include_dirs.extend(include_dirs) |
| 1384 | |
| 1385 | def add_headers(self,*files): |
| 1386 | """Add installable headers to configuration. |
no test coverage detected