Skip to content

Commit 5f50796

Browse files
committed
fix: use poetry for casadi dependency
1 parent e5fdc24 commit 5f50796

File tree

4 files changed

+160
-1
lines changed

4 files changed

+160
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ endif()
138138
# Export 'FindAcados.cmake'
139139
install(DIRECTORY cmake DESTINATION share/${PROJECT_NAME})
140140

141+
# Install Python project files
142+
install(
143+
FILES
144+
pyproject.toml
145+
poetry.lock
146+
DESTINATION
147+
share/${PROJECT_NAME}
148+
)
149+
141150
# Copy additional cmake utils required by Acados
142151
# (to suppress findPackage warnings in downstream packages)
143152
install(

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<buildtool_depend>ament_cmake_python</buildtool_depend>
1818
<buildtool_depend>pkg-config</buildtool_depend>
1919

20-
<exec_depend>casadi-pip</exec_depend>
20+
<!-- <exec_depend>casadi-pip</exec_depend> -->
2121

2222
<buildtool_export_depend>pkg-config</buildtool_export_depend>
2323

poetry.lock

Lines changed: 135 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tool.poetry]
2+
name = "acados_vendor_ros2_meta"
3+
version = "0.0.0"
4+
description = ""
5+
authors = ["Nathan Edwards <[email protected]>"]
6+
7+
[tool.poetry.dependencies]
8+
python = ">=3.10"
9+
casadi = "^3.7.1"
10+
11+
[tool.poetry.dev-dependencies]
12+
13+
[build-system]
14+
requires = ["poetry-core>=1.0.0"]
15+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)