-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
31 lines (26 loc) · 869 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
#!/usr/bin/env python
import glob
from setuptools import setup
from setuptools import find_packages
from ifex.templates import TemplateDir
def get_template_files():
paths = []
paths.extend(glob.glob(f"{TemplateDir.TemplatePath}/*/*", recursive=False))
return paths
setup(name='ifex',
version='0.1',
description='Interface Exchange Framework (IFEX) tools',
author='',
author_email='',
url='https://github.com/COVESA/ifex',
packages=find_packages(),
package_data={
'ifex': get_template_files()
},
entry_points='''
[console_scripts]
ifexgen=ifex.scripts.generator:ifex_generator_run
ifexgen_dbus=ifex.scripts.generator_dbus:ifex_dbus_generator_run
ifexconv_protobuf=ifex.scripts.protobuf_ifex:protobuf_to_ifex_run
'''
)