-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 775 Bytes
/
setup.py
File metadata and controls
25 lines (21 loc) · 775 Bytes
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
import os, sys
from distutils.core import setup, Extension
from distutils import sysconfig
cpp_args = ['-std=c++11', '-stdlib=libc++', '-I/usr/local/include/eigen3']
ext_modules = [
Extension(
'FastCDF',
['fastCDF.cpp', 'fastCDFOnSample.cpp', 'nDDominanceAlone.cpp', 'Pybind11StOptCDF.cpp'],
include_dirs=['pybind11/include'],
language='c++',
extra_compile_args = cpp_args,
),
]
setup(
name='wrapped CDF code from StOpt',
version='0.0.1',
author='Modifications by Tom Abel',
author_email='tabel@stanford.edu',
description='Extracted CDF from StOpt library for an easy to use small library with minimal dependencies. , orignial code from https://gitlab.com/stochastic-control/StOpt/',
ext_modules=ext_modules,
)