-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
32 lines (29 loc) · 1.22 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
#!/usr/bin/env python3
import os
from setuptools import *
print('[Korali] Building installation setup...')
sourceDir = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/source/')
installFiles = ['libkorali.so', 'Makefile.conf']
for dirpath, subdirs, files in os.walk(sourceDir):
for x in files:
if (x.endswith(".hpp") or (x.endswith(".h")) or (x.endswith(".json")) or x.endswith(".py")):
relDir = os.path.relpath(dirpath, sourceDir)
relFile = os.path.join(relDir, x)
installFiles.append(relFile)
setup(
name='Korali',
version=1.00,
author='G. Arampatzis, S. Martin, D. Waelchli',
author_email='[email protected]',
description='High Performance Library for Uncertainty Quantification',
long_description='Webpage: https://www.cse-lab.ethz.ch/korali/',
packages = ['korali', 'korali.plotter', 'korali.profiler', 'korali.cxx'],
package_dir = {'korali' : './source/',
'korali.plotter' : './tools/plotter',
'korali.profiler' : './tools/profiler',
'korali.cxx' : './tools/cxx',
},
include_package_data=True,
package_data={'korali': installFiles },
install_requires=['pybind11', 'numpy', 'matplotlib']
)