1 from __future__
import print_function
7 from .
import get_include
11 dirs = [sysconfig.get_path(
'include'),
12 sysconfig.get_path(
'platinclude'),
19 if d
not in unique_dirs:
22 print(
' '.
join(
'-I' + d
for d
in unique_dirs))
26 parser = argparse.ArgumentParser(prog=
'python -m pybind11')
27 parser.add_argument(
'--includes', action=
'store_true',
28 help=
'Include flags for both pybind11 and Python headers.')
29 args = parser.parse_args()
36 if __name__ ==
'__main__':
def get_include(user=False)
void print(Args &&...args)
std::string join(const T &v, std::string delim=",")
Simple function to join a string.