Skip to content

Commit

Permalink
control/drivers_py: Fix install directory for data files
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Sep 19, 2024
1 parent 2ff5b9b commit 871de6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions oasis_control/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
packages=setuptools.find_packages(exclude=["test"]),
data_files=[
# Ament resources
(os.path.join("share", PACKAGE_NAME), ["package.xml"]),
(PACKAGE_NAME, ["package.xml"]),
(
os.path.join("share", "ament_index", "resource_index", "packages"),
os.path.join("ament_index", "resource_index", "packages"),
["resource/" + PACKAGE_NAME],
),
# Launch files
(os.path.join("share", PACKAGE_NAME), ["launch/control_launch.py"]),
(PACKAGE_NAME, ["launch/control_launch.py"]),
# Systemd services
(
os.path.join("share", PACKAGE_NAME, "systemd"),
os.path.join(PACKAGE_NAME, "systemd"),
["config/systemd/oasis_control.service"],
),
],
Expand Down
8 changes: 4 additions & 4 deletions oasis_drivers_py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
packages=setuptools.find_packages(exclude=["test"]),
data_files=[
# Ament resources
(os.path.join("share", PACKAGE_NAME), ["package.xml"]),
(PACKAGE_NAME, ["package.xml"]),
(
os.path.join("share", "ament_index", "resource_index", "packages"),
os.path.join("ament_index", "resource_index", "packages"),
["resource/" + PACKAGE_NAME],
),
# Launch files
(os.path.join("share", PACKAGE_NAME), ["launch/drivers_launch.py"]),
(PACKAGE_NAME, ["launch/drivers_launch.py"]),
# Systemd services
(
os.path.join("share", PACKAGE_NAME, "systemd"),
os.path.join(PACKAGE_NAME, "systemd"),
[
"config/systemd/display_fixes.service",
"config/systemd/oasis_drivers.service",
Expand Down

0 comments on commit 871de6b

Please sign in to comment.