Skip to content

Commit

Permalink
Added resource and package.xml to install data files
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero committed May 25, 2023
1 parent bebdf75 commit 4be5337
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Empty file added resource/clearpath_config
Empty file.
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import setup
import os

package_name = "clearpath_config"

Expand All @@ -12,6 +13,13 @@
package_name + ".mounts",
package_name + ".sensors"
],
data_files=[
# Install marker file in the package index
("share/ament_index/resource_index/packages",
["resource/" + package_name]),
# Include the package.xml file
(os.path.join("share", package_name), ["package.xml"]),
],
install_requires=[
"setuptools",
"requests",
Expand Down

0 comments on commit 4be5337

Please sign in to comment.