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
5a292427
Commit
5a292427
authored
Apr 22, 2016
by
Wenzel Jakob
Browse files
pybind11.get_include(): added *args and **kwargs pass-through parameters
parent
7ca27558
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pybind11/__init__.py
pybind11/__init__.py
+2
-2
No files found.
pybind11/__init__.py
View file @
5a292427
from
._version
import
version_info
,
__version__
def
get_include
():
def
get_include
(
*
args
,
**
kwargs
):
import
os
try
:
from
pip
import
locations
return
os
.
path
.
dirname
(
locations
.
distutils_scheme
(
'pybind11'
)[
'headers'
])
locations
.
distutils_scheme
(
'pybind11'
,
*
args
,
**
kwargs
)[
'headers'
])
except
ImportError
:
return
'include'
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