-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (46 loc) · 1.54 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
from glob import glob
import os
from setuptools import setup
package_name = "panda_teleop"
# build a list of the data files
data_files = []
data_files.append(("share/ament_index/resource_index/packages", ["resource/" + package_name]))
data_files.append(("share/" + package_name, ["package.xml"]))
data_files.append(("share/" + package_name, glob("launch/*.launch.py", recursive=True)))
def package_files(directory, data_files):
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
data_files.append(("share/" + package_name + "/" + path, glob(path + "/**/*.*", recursive=True)))
return data_files
data_files = package_files('description/', data_files)
setup(
name=package_name,
version="0.0.1",
packages=[
package_name],
data_files=data_files,
install_requires=["setuptools"],
zip_safe=True,
author="njpalomo",
author_email="[email protected]",
maintainer="njpalomo",
maintainer_email="[email protected]",
keywords=["ROS"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Topic :: Software Development",
],
description="Panda demo in ROS2.",
long_description="""\
Panda demo in ROS2.""",
license="Apache License, Version 2.0",
tests_require=["pytest"],
entry_points={
"console_scripts": [
"panda_teleop_control = \
panda_teleop.runner:main",
],
},
)