38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
from setuptools import find_packages, setup
|
|
from glob import glob
|
|
import os
|
|
|
|
package_name = 'ctrlgui'
|
|
|
|
setup(
|
|
name=package_name,
|
|
version='0.0.0',
|
|
packages=find_packages(exclude=['test']),
|
|
include_package_data=True,
|
|
package_data={
|
|
'ctrlgui': ['static/*'],
|
|
},
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages',
|
|
['resource/' + package_name]),
|
|
('share/' + package_name, ['package.xml']),
|
|
('share/' + package_name + '/launch', ['launch/ctrlgui.launch.py']),
|
|
('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', '*'))
|
|
]),
|
|
],
|
|
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'
|
|
],
|
|
},
|
|
) |