From 4e00917201ee95fac9662e345e7ba5e0d2398780 Mon Sep 17 00:00:00 2001 From: Saransh Agrawal Date: Wed, 23 Oct 2024 21:37:36 -0400 Subject: [PATCH] added entry_point --- rb_ws/src/buggy/setup.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/rb_ws/src/buggy/setup.py b/rb_ws/src/buggy/setup.py index 4373639..a817c9d 100644 --- a/rb_ws/src/buggy/setup.py +++ b/rb_ws/src/buggy/setup.py @@ -1,30 +1,30 @@ -from glob import glob +from glob import glob import os from setuptools import find_packages, setup -package_name = 'buggy' +package_name = "buggy" setup( name=package_name, - version='0.0.0', - packages=find_packages(exclude=['test']), + version="0.0.0", + packages=find_packages(exclude=["test"]), data_files=[ - ('share/ament_index/resource_index/packages', - ['resource/' + package_name]), - ('share/' + package_name, ['package.xml']), + ("share/ament_index/resource_index/packages", ["resource/" + package_name]), + ("share/" + package_name, ["package.xml"]), (os.path.join("share", package_name), glob("launch/*.xml")), ], - install_requires=['setuptools'], + install_requires=["setuptools"], zip_safe=True, - maintainer='root', - maintainer_email='root@todo.todo', - description='TODO: Package description', - license='TODO: License declaration', - tests_require=['pytest'], + maintainer="root", + maintainer_email="root@todo.todo", + description="TODO: Package description", + license="TODO: License declaration", + tests_require=["pytest"], entry_points={ - 'console_scripts': [ - 'hello_world = buggy.hello_world:main' + "console_scripts": [ + "hello_world = buggy.hello_world:main", + "buggy_state_converter = buggy.buggy_state_converter:main", ], }, )