Begin cython structure

This commit is contained in:
2023-06-22 17:56:34 +02:00
parent 99321043ec
commit 0094d500d4
15 changed files with 4292 additions and 2 deletions

24
setup.py Normal file
View File

@@ -0,0 +1,24 @@
"""
Calling
$python setup.py build_ext --inplace
will build the extension library in the current file.
"""
from setuptools import Extension, setup
setup(
ext_modules=[
Extension(
name="bayesclass.cppSelectFeatures",
sources=[
"bayesclass/cSelectFeatures.pyx",
"bayesclass/FeatureSelect.cpp",
],
language="c++",
include_dirs=["bayesclass"],
extra_compile_args=[
"-std=c++17",
],
),
]
)