mirror of
https://github.com/Doctorado-ML/bayesclass.git
synced 2025-08-19 01:25:55 +00:00
First try to link with bayesnet
This commit is contained in:
14
setup.py
14
setup.py
@@ -5,6 +5,7 @@
|
||||
"""
|
||||
|
||||
from setuptools import Extension, setup
|
||||
from torch.utils import cpp_extension
|
||||
|
||||
setup(
|
||||
ext_modules=[
|
||||
@@ -20,5 +21,18 @@ setup(
|
||||
"-std=c++17",
|
||||
],
|
||||
),
|
||||
Extension(
|
||||
name="bayesclass.cppBayesNetwork",
|
||||
sources=[
|
||||
"bayesclass/BayesNetwork.pyx",
|
||||
"bayesclass/Network.cc",
|
||||
"bayesclass/Node.cc",
|
||||
],
|
||||
include_dirs=cpp_extension.include_paths(),
|
||||
language="c++",
|
||||
extra_compile_args=[
|
||||
"-std=c++17",
|
||||
],
|
||||
),
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user