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
OpenDAS
dlib
Commits
6b064d35
Commit
6b064d35
authored
Feb 03, 2016
by
Davis King
Browse files
Made the python __version__ field come from the DLIB_VERSION macro set by
CMake.
parent
fcf80e1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
tools/python/src/dlib.cpp
tools/python/src/dlib.cpp
+4
-1
No files found.
tools/python/src/dlib.cpp
View file @
6b064d35
...
@@ -29,7 +29,10 @@ BOOST_PYTHON_MODULE(dlib)
...
@@ -29,7 +29,10 @@ BOOST_PYTHON_MODULE(dlib)
// since it is full of huge amounts of template clutter.
// since it is full of huge amounts of template clutter.
boost
::
python
::
docstring_options
options
(
true
,
true
,
false
);
boost
::
python
::
docstring_options
options
(
true
,
true
,
false
);
boost
::
python
::
scope
().
attr
(
"__version__"
)
=
"18.18"
;
#define DLIB_QUOTE_STRING(x) DLIB_QUOTE_STRING2(x)
#define DLIB_QUOTE_STRING2(x) #x
boost
::
python
::
scope
().
attr
(
"__version__"
)
=
DLIB_QUOTE_STRING
(
DLIB_VERSION
);
bind_matrix
();
bind_matrix
();
bind_vector
();
bind_vector
();
...
...
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