forked from BohndiekLab/patato
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 706 Bytes
/
setup.py
File metadata and controls
23 lines (20 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) Thomas Else 2023-25.
# License: MIT
import pybind11
import setuptools
from setuptools import Extension
modelbased_c = Extension(
"patato.recon.model_based.generate_model",
sources=["patato/recon/model_based/generate_model.cpp"],
language="c++",
extra_compile_args=["-std=c++11"],
include_dirs=[pybind11.get_include()],
)
modelbased_c2 = Extension(
"patato.recon.model_based.generate_model_refraction",
sources=["patato/recon/model_based/generate_model_refraction.cpp"],
language="c++",
extra_compile_args=["-std=c++11"],
include_dirs=[pybind11.get_include()],
)
setuptools.setup(ext_modules=[modelbased_c2, modelbased_c])