Unverified Commit a553870e authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #113 from jcarpent/devel

Fix Python import
parents 8e9a14c7 4337b7a4
......@@ -31,4 +31,5 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
from hppfcl import *
from .hppfcl import *
from .hppfcl import __version__, __raw_version__
//
// Copyright (c) 2019 CNRS
// Copyright (c) 2019 CNRS INRIA
//
#include "hpp/fcl/config.hh"
......@@ -28,6 +28,7 @@ void exposeVersion()
bp::scope().attr("__version__") = BOOST_PP_STRINGIZE(HPP_FCL_MAJOR_VERSION) "."
BOOST_PP_STRINGIZE(HPP_FCL_MINOR_VERSION) "."
BOOST_PP_STRINGIZE(HPP_FCL_PATCH_VERSION);
bp::scope().attr("__raw_version__") = HPP_FCL_VERSION;
bp::scope().attr("HPP_FCL_MAJOR_VERSION") = HPP_FCL_MAJOR_VERSION;
bp::scope().attr("HPP_FCL_MINOR_VERSION") = HPP_FCL_MINOR_VERSION;
bp::scope().attr("HPP_FCL_PATCH_VERSION") = HPP_FCL_PATCH_VERSION;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment