Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
75c11769
Commit
75c11769
authored
Aug 14, 2024
by
Henry Schreiner
Committed by
Henry Schreiner
Aug 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fix: quote paths from pybind11-config (#5302)" (#5309)
This reverts commit
8d9f4d50
.
parent
6685547e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
pybind11/__main__.py
+3
-4
No files found.
pybind11/__main__.py
View file @
75c11769
...
...
@@ -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__"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment