python binding for EclFile
This commit is contained in:
committed by
Joakim Hove
parent
0b8a42fd1f
commit
7cacc734e8
@@ -56,6 +56,18 @@ ext_modules = [
|
||||
undef_macros=["NDEBUG"],
|
||||
include_dirs=["pybind11/include"]
|
||||
),
|
||||
|
||||
Extension(
|
||||
'libopmioecl_python',
|
||||
[
|
||||
'cxx/eclipse_io.cpp',
|
||||
],
|
||||
libraries=['opmcommon', 'boost_filesystem', 'boost_regex'],
|
||||
language='c++',
|
||||
undef_macros=["NDEBUG"],
|
||||
include_dirs=["pybind11/include"]
|
||||
)
|
||||
|
||||
]
|
||||
|
||||
setup(
|
||||
@@ -68,10 +80,11 @@ setup(
|
||||
'opm.io.ecl_state',
|
||||
'opm.io.parser',
|
||||
'opm.io.schedule',
|
||||
'opm.io.ecl',
|
||||
'opm.tools'
|
||||
],
|
||||
ext_modules=ext_modules,
|
||||
package_data={'opm': ['libopmcommon_python{}'.format(suffix)]},
|
||||
package_data={'opm': ['libopmcommon_python{}'.format(suffix), 'libopmioecl_python'.format(suffix)]},
|
||||
include_package_data=True,
|
||||
license='Open Source',
|
||||
zip_safe=False,
|
||||
|
||||
Reference in New Issue
Block a user