forked from HBRS-SDP/ss24-gazebo-simulation-freddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (56 loc) · 1.85 KB
/
setup.py
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import find_packages, setup
import os
import glob
package_name = "eddie_gazebo"
def get_all_files(directory):
paths = []
for root, _, files in os.walk(directory):
for file in files:
paths.append(
(os.path.join("share", package_name, root), [os.path.join(root, file)])
)
return paths
setup(
name=package_name,
version="0.0.1",
packages=find_packages(exclude=["test"]),
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")),
),
(
os.path.join("share", package_name, "worlds"),
glob.glob(os.path.join("worlds", "*.sdf")),
),
*get_all_files("meshes"),
(
os.path.join("share", package_name, "config"),
glob.glob(os.path.join("config", "*.yaml")),
),
(
os.path.join("share", package_name, "urdf"),
glob.glob(os.path.join("urdf", "*.urdf")),
),
(
os.path.join("share", package_name, "scripts"),
glob.glob(os.path.join("scripts", "*.py")),
),
],
install_requires=["setuptools"],
zip_safe=True,
maintainer="Vamsi Kalagaturu, Kishan Sawant",
maintainer_email="[email protected], [email protected]",
description="Gazebo simulation for eddie",
license="MIT",
tests_require=["pytest"],
entry_points={
"console_scripts": [
f"control_publisher = {package_name}.control_publisher:main",
f"arms_control = {package_name}.arms_control:main",
f"eddie_control = {package_name}.eddie_control:main",
],
},
)