Files
hivecore_robot_ctrl_gui/setup.py

38 lines
1.1 KiB
Python
Raw Permalink Normal View History

2025-10-23 17:42:21 +08:00
from setuptools import find_packages, setup
2025-10-23 18:46:25 +08:00
from glob import glob
import os
2025-10-23 17:42:21 +08:00
package_name = 'ctrlgui'
setup(
name=package_name,
version='0.0.0',
packages=find_packages(exclude=['test']),
include_package_data=True,
package_data={
'ctrlgui': ['static/*'],
},
2025-10-23 17:42:21 +08:00
data_files=[
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
('share/' + package_name + '/launch', ['launch/ctrlgui.launch.py']),
2026-02-01 11:09:49 +08:00
('share/' + package_name + '/config', ['config/ctrlgui.yaml']),
# Install top-level static assets into share for runtime serving
('share/' + package_name + '/static', [
*glob(os.path.join('static', '*'))
]),
2025-10-23 17:42:21 +08:00
],
install_requires=['setuptools', 'nicegui>=1.4.0'],
zip_safe=True,
maintainer='root',
maintainer_email='david@hivecore.cn',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'ctrlgui_node = ctrlgui.ctrlgui_node:main'
],
},
2025-10-23 18:46:25 +08:00
)