Skip to content

Commit

Permalink
Updates setup.py to use setup_utils package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasweihing committed Nov 25, 2024
1 parent a0ea9a6 commit 7eb9d6b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<license>TODO: License declaration</license>

<depend>rclpy</depend>
<depend>cv_bridge</depend>
<depend>timing</depend>
<depend>setup_utils</depend>

<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
Expand Down
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import glob
import os

from setup_utils import include_directory
from setuptools import find_packages, setup

package_name = "lane_detection_ai"
Expand All @@ -12,17 +12,17 @@
data_files=[
("share/ament_index/resource_index/packages", ["resource/" + package_name]),
("share/" + package_name, ["package.xml"]),
(
os.path.join("share", package_name, "launch"),
glob.glob(os.path.join("launch", "*launch.py")),
*include_directory(
install_path=os.path.join("share", package_name, "config"),
source_path="config",
),
(
os.path.join("share", package_name, "config"),
glob.glob(os.path.join("config", "*.*")),
*include_directory(
install_path=os.path.join("share", package_name, "launch"),
source_path="launch",
),
(
os.path.join("share", package_name, "models"),
glob.glob(os.path.join("models", "*.*")),
*include_directory(
install_path=os.path.join("share", package_name, "models"),
source_path="models",
),
],
install_requires=["setuptools"],
Expand Down

0 comments on commit 7eb9d6b

Please sign in to comment.