-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.8 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (39 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import glob
import os
from setuptools import find_packages, setup
package_name = "path_planning"
setup(
name=package_name,
version="0.0.0",
packages=find_packages(exclude=["test"]),
include_package_data=True, # This is for the package_data files
package_data={
package_name: [f"**/*{ext}" for ext in [".png", ".yaml"]],
},
data_files=[
("share/" + package_name, ["package.xml"]),
("share/ament_index/resource_index/packages", ["resource/" + package_name]),
("share/path_planning/launch/sim", glob.glob(os.path.join("launch", "sim", "*launch.*"))),
("share/path_planning/launch/real", glob.glob(os.path.join("launch", "real", "*launch.*"))),
("share/path_planning/launch/debug", glob.glob(os.path.join("launch", "debug", "*launch.*"))),
(os.path.join("share", package_name, "config", "sim"), glob.glob("config/sim/*.yaml")),
(os.path.join("share", package_name, "config", "real"), glob.glob("config/real/*.yaml")),
(os.path.join("share", package_name, "config", "debug"), glob.glob("config/debug/*.yaml")),
("share/path_planning/example_trajectories", glob.glob(os.path.join("example_trajectories", "*.traj"))),
],
install_requires=["setuptools"],
zip_safe=True,
maintainer="Sebastian",
maintainer_email="sebastianag2002@gmail.com",
description="Path Planning ROS2 Package",
license="Apache License, Version 2.0",
tests_require=["pytest"],
entry_points={
"console_scripts": [
"trajectory_builder = path_planning.trajectory_builder:main",
"trajectory_loader = path_planning.trajectory_loader:main",
"trajectory_planner = path_planning.trajectory_planner:main",
"trajectory_follower = path_planning.trajectory_follower:main",
],
},
)