mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 00:15:52 +00:00
27 lines
615 B
Python
27 lines
615 B
Python
"""
|
|
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="fimdlp.cppfimdlp",
|
|
sources=[
|
|
"src/fimdlp/cfimdlp.pyx",
|
|
"src/cppmdlp/CPPFImdlp.cpp",
|
|
"src/cppmdlp/Metrics.cpp",
|
|
"src/fimdlp/Factorize.cpp",
|
|
],
|
|
language="c++",
|
|
include_dirs=["fimdlp"],
|
|
extra_compile_args=[
|
|
"-std=c++11",
|
|
],
|
|
),
|
|
]
|
|
)
|