-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (39 loc) · 1.25 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import os
from glob import glob
from setuptools import find_packages, setup
package_name = 'shikanoko_markov_statemachine'
data_files = []
data_files.append(
("share/ament_index/resource_index/packages", ["resource/" + package_name])
)
data_files.append(("share/" + package_name, ["package.xml"]))
def package_files(directory, data_files):
for path, directories, filenames in os.walk(directory):
for filename in filenames:
data_files.append(
(
"share/" + package_name + "/" + path,
glob(path + "/**/*.*", recursive=True),
)
)
return data_files
# Add directories
data_files = package_files("video", data_files)
setup(
name=package_name,
version='0.0.0',
packages=find_packages(exclude=['test']),
data_files=data_files,
install_requires=['setuptools'],
zip_safe=True,
maintainer='humble-gai',
maintainer_email='[email protected]',
description='TODO: Package description',
license='TODO: License declaration',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'shikanoko_markov_statemachine=shikanoko_markov_statemachine.shikanoko_markov_statemachine:main'
],
},
)