Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ostasse/dynamic-graph-python
  • gsaurel/dynamic-graph-python
  • stack-of-tasks/dynamic-graph-python
3 results
Show changes
Commits on Source (16)
...@@ -26,7 +26,7 @@ repos: ...@@ -26,7 +26,7 @@ repos:
- id: mixed-line-ending - id: mixed-line-ending
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.6.0 rev: 22.8.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
......
...@@ -28,9 +28,12 @@ project(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -28,9 +28,12 @@ project(${PROJECT_NAME} ${PROJECT_ARGS})
check_minimal_cxx_standard(14 ENFORCE) check_minimal_cxx_standard(14 ENFORCE)
# Project dependencies # Project dependencies
set(PYTHON_COMPONENTS Interpreter Development NumPy)
add_project_dependency(dynamic-graph 4.4.0 REQUIRED) add_project_dependency(dynamic-graph 4.4.0 REQUIRED)
add_project_dependency(eigenpy 2.7.10 REQUIRED) add_project_dependency(eigenpy 2.7.10 REQUIRED)
include(cmake/python.cmake) # TODO: overwriting eigenpy/python.cmake set(PYTHON_EXPORT_DEPENDENCY_MACROS
"list(APPEND PYTHON_COMPONENTS ${PYTHON_COMPONENTS})\n${PYTHON_EXPORT_DEPENDENCY_MACROS}"
)
if(BUILD_TESTING) if(BUILD_TESTING)
find_package(Boost REQUIRED COMPONENTS unit_test_framework) find_package(Boost REQUIRED COMPONENTS unit_test_framework)
endif(BUILD_TESTING) endif(BUILD_TESTING)
......
Subproject commit 1f0c5d5dca37fd04cd6cb55c29db49e8708f8144 Subproject commit 08c2c18b9033c2f0a86b885b589f4fa63a163caf
<?xml version="1.0"?> <?xml version="1.0"?>
<package format="3"> <package format="3">
<name>dynamic-graph-python</name> <name>dynamic-graph-python</name>
<version>4.0.7</version> <version>4.0.11</version>
<description> <description>Dynamic graph library Python bindings</description>
Dynamic graph library Python bindings
</description>
<maintainer email="guilhem.saurel@laas.fr">Guilhem Saurel</maintainer> <maintainer email="guilhem.saurel@laas.fr">Guilhem Saurel</maintainer>
<license>BSD</license>
<url>http://github.com/stack-of-tasks/dynamic-graph-python</url>
<author>Nicolas Mansard</author> <author>Nicolas Mansard</author>
<author>Olivier Stasse</author> <author>Olivier Stasse</author>
<license>BSD</license>
<url type="website">https://github.com/stack-of-tasks/dynamic-graph-python</url>
<build_depend>git</build_depend> <build_depend>git</build_depend>
<build_depend>doxygen</build_depend> <build_depend>doxygen</build_depend>
<doc_depend>doxygen</doc_depend>
<!-- The following tags are recommended by REP-136 --> <!-- The following tag is recommended by REP-136 -->
<exec_depend condition="$ROS_VERSION == 1">catkin</exec_depend> <exec_depend condition="$ROS_VERSION == 1">catkin</exec_depend>
<exec_depend condition="$ROS_VERSION == 2">ament_cmake</exec_depend>
<depend>dynamic-graph</depend> <depend condition="$ROS_PYTHON_VERSION == 2">python</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3</depend>
<depend condition="$ROS_PYTHON_VERSION == 2">python-numpy</depend>
<depend condition="$ROS_PYTHON_VERSION == 3">python3-numpy</depend>
<depend>eigen</depend>
<depend>boost</depend> <depend>boost</depend>
<depend>eigenpy</depend> <depend>eigenpy</depend>
<depend>dynamic-graph</depend>
<buildtool_depend>cmake</buildtool_depend> <buildtool_depend>cmake</buildtool_depend>
<export> <export>
<build_type>cmake</build_type> <build_type>cmake</build_type>
</export> </export>
</package> </package>
...@@ -44,9 +44,6 @@ if(UNIX AND NOT APPLE) ...@@ -44,9 +44,6 @@ if(UNIX AND NOT APPLE)
endif(UNIX AND NOT APPLE) endif(UNIX AND NOT APPLE)
target_link_libraries(${PYTHON_MODULE} PRIVATE ${LIBRARY_NAME} ${PROJECT_NAME}) target_link_libraries(${PYTHON_MODULE} PRIVATE ${LIBRARY_NAME} ${PROJECT_NAME})
target_link_boost_python(${PYTHON_MODULE} PRIVATE)
target_include_directories(${PYTHON_MODULE} SYSTEM
PRIVATE ${PYTHON_INCLUDE_DIRS})
# Test it # Test it
add_python_unit_test("test-custom-entity" "tests/test_custom_entity.py" src add_python_unit_test("test-custom-entity" "tests/test_custom_entity.py" src
......