forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py.in
45 lines (43 loc) · 1.79 KB
/
setup.py.in
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
#!/usr/bin/env python
from distutils.core import setup
from distutils.util import get_platform
setup(name='elektra-gen',
version='${KDB_VERSION}',
description='Elektra Front End Generator',
long_description="""Generate Front Ends for static programming
languages using Cheetah templates.""",
platforms = get_platform(),
license='bsd',
author='Markus Raab',
author_email='[email protected]',
url='https://www.libelektra.org/',
package_dir={
'support': '${CMAKE_CURRENT_SOURCE_DIR}/support',
'': '${CMAKE_CURRENT_BINARY_DIR}'
},
scripts=['${CMAKE_CURRENT_SOURCE_DIR}/gen'],
packages=['support'],
#py_modules = [
# 'util',
# 'cpp_util'
# ],
data_files = [
('@CMAKE_INSTALL_PREFIX@/@TARGET_TEMPLATE_FOLDER@', [
'${CMAKE_CURRENT_SOURCE_DIR}/README.md',
'${CMAKE_CURRENT_SOURCE_DIR}/tests/lift.ini',
'${CMAKE_CURRENT_SOURCE_DIR}/template/context_static.hpp',
'${CMAKE_CURRENT_SOURCE_DIR}/template/genopt.c',
'${CMAKE_CURRENT_SOURCE_DIR}/template/genopt.h',
'${CMAKE_CURRENT_SOURCE_DIR}/template/template.h',
'${CMAKE_CURRENT_SOURCE_DIR}/template/template.hpp',
'${CMAKE_CURRENT_SOURCE_DIR}/template/template.html',
'${CMAKE_CURRENT_SOURCE_DIR}/template/template.man',
'${CMAKE_CURRENT_SOURCE_DIR}/template/nested.hpp',
'${CMAKE_CURRENT_SOURCE_DIR}/util/util.c',
'${CMAKE_CURRENT_SOURCE_DIR}/util/util.cpp',
'${CMAKE_CURRENT_SOURCE_DIR}/tests/visit_context.cpp',
'${CMAKE_CURRENT_SOURCE_DIR}/tests/visit.ini',
]
)
]
)