30 lines
786 B
Python
30 lines
786 B
Python
|
|
from setuptools import setup
|
||
|
|
import os
|
||
|
|
from glob import glob
|
||
|
|
|
||
|
|
package_name = 'game_pad'
|
||
|
|
|
||
|
|
setup(
|
||
|
|
name=package_name,
|
||
|
|
version='0.0.0',
|
||
|
|
packages=[package_name],
|
||
|
|
data_files=[
|
||
|
|
('share/ament_index/resource_index/packages',
|
||
|
|
['resource/' + package_name]),
|
||
|
|
('share/' + package_name, ['package.xml']),
|
||
|
|
(os.path.join('share', package_name, 'launch'), glob('launch/*.py')),
|
||
|
|
],
|
||
|
|
install_requires=['setuptools'],
|
||
|
|
zip_safe=True,
|
||
|
|
maintainer='Your Name',
|
||
|
|
maintainer_email='your@email.com',
|
||
|
|
description='Convert joy messages to control commands',
|
||
|
|
license='Apache-2.0',
|
||
|
|
tests_require=['pytest'],
|
||
|
|
entry_points={
|
||
|
|
'console_scripts': [
|
||
|
|
'game_pad_node = game_pad.game_pad_node:main',
|
||
|
|
],
|
||
|
|
},
|
||
|
|
)
|