Commit 67f615fa authored by Leopold Palomo's avatar Leopold Palomo

Deleting python part .. by now

parent ca4f3597
......@@ -51,14 +51,3 @@ Description: OMPL library demos.
detection or visualization. The library is designed so it can be easily
integrated into systems that provide the additional needed components.
Package: python-ompl
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: ${python:Provides}
Description: OMPL library python bindings.
Consists of a set of sampling-based motion planning
algorithms. The content of the library is limited to these algorithms,
which means there is no environment specification, no collision
detection or visualization. The library is designed so it can be easily
integrated into systems that provide the additional needed components.
......@@ -20,17 +20,25 @@ CMAKE_FLAGS = \
-DCMAKE_CXX_FLAGS_RELEASE="$(CXXFLAGS)" \
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE="$(LDFLAGS)" \
-DCMAKE_BUILD_TYPE=Release \
-DOMPL_ODESOLVER=OFF,
-DOMPL_REGISTRATION=OFF,
-DOMPL_BUILD_PYBINDINGS=ON,
-DOMPL_BUILD_PYTESTS=OFF,
$(CMAKE_ARCH_FLAGS)
-DOMPL_ODESOLVER=OFF \
-DOMPL_REGISTRATION=OFF \
-DOMPL_BUILD_PYBINDINGS=OFF \
-DOMPL_BUILD_PYTESTS=OFF
%:
dh $@ --with quilt --buildsystem=cmake
override_dh_clean:
dh_clean -O--buildsystem=cmake
-rm -rf ompl/CMakeModules/ompl.pc
-rm -rf ompl/py-bindings/ompl/bindings_generator.py
-rm -rf ompl/py-bindings/ompl/util/libompl.so
-rm -rf ompl/.registered
-rm -rf ompl/src/external/installPyPlusPlus.bat
-rm -rf ompl/src/external/installPyPlusPlus.sh
-rm -rf ompl/src/ompl/config.h
-rm -rf ompl/tests/resources/config.h
-rm -rf ompl/doc/dox/download.md ompl/doc/dox/mainpage.md
override_dh_auto_configure:
dh_auto_configure -- $(CMAKE_FLAGS) $(CMAKE_ARCH_FLAGS)
......
......@@ -107,8 +107,8 @@ class code_generator_t(object):
@name name of the python module
@dep name of another module this module depends on"""
module_builder.set_logger_level( logging.INFO )
candidate_include_paths = [ "/Users/mmoll/omplapp/ompl/src", "/Users/mmoll/omplapp/src",
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m", "/opt/local/include", "/opt/local/include", ""]
candidate_include_paths = [ "/home/users/leopold.palomo/linux/packages/ompl/src", "",
"/usr/include/python2.7", "/usr/include", "", "/home/users/leopold.palomo/linux/packages/ompl/src/external"]
# Adding standard windows headers
if platform == 'win32':
......@@ -137,10 +137,10 @@ class code_generator_t(object):
include_paths.append(path)
self.mb = module_builder.module_builder_t(
files = [ 'bindings/' + name + '.h' ],
cache = '/Users/mmoll/build/omplapp/Release/pyplusplus_'+name+'.cache',
gccxml_path = "/opt/local/bin/gccxml",
cache = '/home/users/leopold.palomo/linux/packages/ompl/obj-x86_64-linux-gnu/pyplusplus_'+name+'.cache',
gccxml_path = "/usr/bin/gccxml",
include_paths = include_paths,
cflags="--gccxml-compiler g++ -m64",
cflags="",
indexing_suite_version = indexing_suite_version )
self.replacement = {} if replacement_dict==None else replacement_dict
self.mb.classes().always_expose_using_scope = True
......
Markdown is supported
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