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
e107fc2a
Commit
e107fc2a
authored
Apr 26, 2020
by
Isuru Fernando
Committed by
Wenzel Jakob
Jun 11, 2020
Browse files
Fix setuptools record of headers
parent
ab323e04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
setup.py
setup.py
+7
-0
No files found.
setup.py
View file @
e107fc2a
...
...
@@ -67,6 +67,13 @@ class BuildPy(build_py):
self
.
mkpath
(
os
.
path
.
dirname
(
target
))
self
.
copy_file
(
header
,
target
,
preserve_mode
=
False
)
def
get_outputs
(
self
,
include_bytecode
=
1
):
outputs
=
build_py
.
get_outputs
(
self
,
include_bytecode
=
include_bytecode
)
for
header
in
package_data
:
target
=
os
.
path
.
join
(
self
.
build_lib
,
'pybind11'
,
header
)
outputs
.
append
(
target
)
return
outputs
setup
(
name
=
'pybind11'
,
...
...
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