mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 16:11:59 +00:00
This reverts commit 8d9f4d50cc
.
This commit is contained in:
parent
6685547e3b
commit
75c11769bc
@ -2,7 +2,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import shlex
|
||||
import sys
|
||||
import sysconfig
|
||||
|
||||
@ -23,7 +22,7 @@ def print_includes() -> None:
|
||||
if d and d not in unique_dirs:
|
||||
unique_dirs.append(d)
|
||||
|
||||
print(" ".join(shlex.quote(f"-I{d}") for d in unique_dirs))
|
||||
print(" ".join("-I" + d for d in unique_dirs))
|
||||
|
||||
|
||||
def main() -> None:
|
||||
@ -55,9 +54,9 @@ def main() -> None:
|
||||
if args.includes:
|
||||
print_includes()
|
||||
if args.cmakedir:
|
||||
print(shlex.quote(get_cmake_dir()))
|
||||
print(get_cmake_dir())
|
||||
if args.pkgconfigdir:
|
||||
print(shlex.quote(get_pkgconfig_dir()))
|
||||
print(get_pkgconfig_dir())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user