forked from ros-infrastructure/rosdoc_lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·23 lines (20 loc) · 924 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
#!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosdoc_lite'],
package_dir={'': 'src'},
scripts=['scripts/rosdoc_lite'],
package_data={'rosdoc_lite': ['templates/*',
'templates/swagger-ui/*',
'templates/swagger-ui/dist/*',
'templates/swagger-ui/dist/css/*',
'templates/swagger-ui/dist/fonts/*',
'templates/swagger-ui/dist/langs/*',
'templates/swagger-ui/dist/images/*',
'templates/swagger-ui/dist/lib/*'
# skipping other swagger dirs, they are not needed
]
}
)
setup(**d)