Ellon Mendes
5482f1f5eb
[python] Make python library hidden by renaming gtsampy.so to _gtsampy.so
...
This commit also fixes a naming problem of the python .so module
(_libgtsam_python.so -> _gtsampy.so)
2017-03-07 15:24:36 -08:00
Abe
fbe9aac41c
squash local changes on top of gtsam upstream pull from 6/14/2016
2016-06-18 23:13:59 -07:00
Frank
0372a959ee
Many small improvements, bug-fixes, and tests
2016-02-24 11:01:19 -08:00
dellaert
fb8a62dd1d
Used python.in to generate setup.py
...
Also fixed cmake stuff to copy library to correct location
Minor improvements of cmake
Automatic install of python package
2016-01-24 15:28:16 -08:00
Ellon Mendes
31a88ba910
Remove some variables to improve readbility
2015-12-02 15:29:07 +01:00
Ellon Mendes
81a1fe1c3a
Create a proper target to generate python/gtsam/_libgtsam_python.so in the build directory
2015-12-02 13:35:17 +01:00
Ellon Mendes
768c594299
Copy python/gtsam to build/python directory
...
Not the best way since the gtsam module into build/python won't be updated if
.py files change in the python module.
2015-12-02 13:35:17 +01:00
Ellon Mendes
888af6b948
Remove unused lines that generate warnings on CMake 3.4
2015-12-02 13:35:17 +01:00
Ellon Mendes
2e4a96dc18
Do not store RPATH into _libgtsam_python.so
...
Since we're copying the .so from the build dir to python/gtsam _outside_ the
build dir, we should remove the rpath from the .so, so it will search the
library in the system, and not in the build directory, after installed using
setup.py
2015-12-02 13:35:17 +01:00
Ellon Mendes
dfc15a2f17
Rename python module related cmake variables to improve readability
2015-12-02 13:35:17 +01:00
Ellon Mendes
d51c6f3313
Fix cmake to use default python and boost python versions
2015-12-02 13:35:17 +01:00
Ellon Mendes
5b116a4a67
Add option to chose target python version to create module
2015-12-02 13:35:16 +01:00
Ellon Mendes
ea6ecdd9d5
Move subdirlist macro to cmake/GtsamPythonWrap.cmake
...
Conflicts:
cmake/GtsamPythonWrap.cmake
2015-12-02 13:35:16 +01:00
Ellon Mendes
d3db7309bc
Make libgtsam_python a hidden module by adding '_' before lib name
2015-12-02 13:35:16 +01:00
Ellon Mendes
ffae37a675
Revert python module to use old handwritten files
...
Just noticed several handwritten files here. I'm reverting the python module to
use these handwritten files to later add the files I was wrapping to the same
framework.
Classes from geometry were wrapped for an old C++ interface, so several
boost python's .def(...) were commented out.
Conflicts:
python/gtsam/.gitignore
2015-12-02 13:35:15 +01:00
Andrew Melim
20f5c46507
Reworked python directory structure. Added readme on constructing python module. Added first unit test for point2. Everything needed to get it passing is also here, including some renaming of variables and emitted library names
...
Conflicts:
cmake/GtsamPythonWrap.cmake
python/handwritten/examples/OdometeryExample.py
wrap/Module.cpp
2015-12-02 13:35:14 +01:00