Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
03764178
Commit
03764178
authored
Dec 20, 2022
by
Henry Schreiner
Browse files
Merge branch 'master' into v2.10
parents
80dc998e
0694ec6a
Changes
62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
tools/setup_global.py.in
tools/setup_global.py.in
+3
-1
tools/setup_main.py.in
tools/setup_main.py.in
+2
-0
No files found.
tools/setup_global.py.in
View file @
03764178
...
...
@@ -27,10 +27,11 @@ class InstallHeadersNested(install_headers):
main_headers
=
glob
.
glob
(
"pybind11/include/pybind11/*.h"
)
detail_headers
=
glob
.
glob
(
"pybind11/include/pybind11/detail/*.h"
)
eigen_headers
=
glob
.
glob
(
"pybind11/include/pybind11/eigen/*.h"
)
stl_headers
=
glob
.
glob
(
"pybind11/include/pybind11/stl/*.h"
)
cmake_files
=
glob
.
glob
(
"pybind11/share/cmake/pybind11/*.cmake"
)
pkgconfig_files
=
glob
.
glob
(
"pybind11/share/pkgconfig/*.pc"
)
headers
=
main_headers
+
detail_headers
+
stl_headers
headers
=
main_headers
+
detail_headers
+
stl_headers
+
eigen_headers
cmdclass
=
{
"install_headers"
:
InstallHeadersNested
}
$
extra_cmd
...
...
@@ -55,6 +56,7 @@ setup(
(
base
+
"share/pkgconfig"
,
pkgconfig_files
),
(
base
+
"include/pybind11"
,
main_headers
),
(
base
+
"include/pybind11/detail"
,
detail_headers
),
(
base
+
"include/pybind11/eigen"
,
eigen_headers
),
(
base
+
"include/pybind11/stl"
,
stl_headers
),
],
cmdclass
=
cmdclass
,
...
...
tools/setup_main.py.in
View file @
03764178
...
...
@@ -15,6 +15,7 @@ setup(
"pybind11"
,
"pybind11.include.pybind11"
,
"pybind11.include.pybind11.detail"
,
"pybind11.include.pybind11.eigen"
,
"pybind11.include.pybind11.stl"
,
"pybind11.share.cmake.pybind11"
,
"pybind11.share.pkgconfig"
,
...
...
@@ -23,6 +24,7 @@ setup(
"pybind11"
:
[
"py.typed"
],
"pybind11.include.pybind11"
:
[
"*.h"
],
"pybind11.include.pybind11.detail"
:
[
"*.h"
],
"pybind11.include.pybind11.eigen"
:
[
"*.h"
],
"pybind11.include.pybind11.stl"
:
[
"*.h"
],
"pybind11.share.cmake.pybind11"
:
[
"*.cmake"
],
"pybind11.share.pkgconfig"
:
[
"*.pc"
],
...
...
Prev
1
2
3
4
Next
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