forked from RoverRobotics-archive/ros2-keyboard-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (28 loc) · 895 Bytes
/
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
import os
from glob import glob
from setuptools import setup
package_name = 'keystroke'
setup(
name=package_name,
version='0.3.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), glob('launch/*.launch.py')),
],
install_requires=['setuptools', 'pynput'],
zip_safe=True,
maintainer='Dan Rose',
maintainer_email='dan@digilabs.io',
description='Capture keyboard input from the local computer and publish it to ROS',
license='BSD-3-Clause',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'keystroke_listen = keystroke.listen:main',
'keystroke_arrows_to_twist = keystroke.arrows_to_twist:main'
],
},
)