Skip to content

Commit

Permalink
Re-add the dummy's installation to share
Browse files Browse the repository at this point in the history
The ROS2-related tests need the `share` directory.
  • Loading branch information
stefanscherzinger committed Oct 16, 2024
1 parent 7752b39 commit 77e647f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schunk_egu_egk_gripper_dummy/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from setuptools import find_packages, setup
import os
from glob import glob

package_name = "schunk_egu_egk_gripper_dummy"

Expand All @@ -10,6 +11,9 @@
data_files=[
("share/ament_index/resource_index/packages", ["resource/" + package_name]),
("share/" + package_name, ["package.xml"]),
(os.path.join("share", package_name), [package_name + "/main.py"]),
(os.path.join("share", package_name, "src"), glob("src/*.py")),
(os.path.join("share", package_name, "config"), glob("config/*.json")),
(os.path.join("lib", package_name), ["start_dummy"]),
],
install_requires=["setuptools"],
Expand Down

0 comments on commit 77e647f

Please sign in to comment.