Create package

This commit is contained in:
2022-11-27 00:56:14 +01:00
parent a27f182090
commit 6f4c650af9
20 changed files with 310 additions and 4 deletions

32
prueba/setup.py Normal file
View 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"],
# )
# )