mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-18 08:55:51 +00:00
Create package
This commit is contained in:
32
prueba/setup.py
Normal file
32
prueba/setup.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
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",
|
||||
sources=["cfimdlp.pyx", "FImdlp.cpp"],
|
||||
language="c++",
|
||||
include_dirs=["fimdlp"],
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
# from Cython.Build import cythonize
|
||||
# setup(
|
||||
# ext_modules=cythonize(
|
||||
# Extension(
|
||||
# "fimdlp",
|
||||
# sources=["fimdlp/cfimdlp.pyx", "fimdlp/FImdlp.cpp"],
|
||||
# language="c++",
|
||||
# include_dirs=["fimdlp"],
|
||||
# ),
|
||||
# include_path=["./fimdlp"],
|
||||
# )
|
||||
# )
|
||||
|
Reference in New Issue
Block a user