Skip to content

Commit

Permalink
Merge pull request #20 from Techtonique/cythonize
Browse files Browse the repository at this point in the history
Cythonize
  • Loading branch information
thierrymoudiki authored Jan 28, 2024
2 parents b2fbc72 + 44259b1 commit b6bb7b0
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,29 @@ def run(self):
cmdclass.update(vars(wheelhouse_uploader.cmd))

ext_modules =[
Extension("mlsauce/adaopt._adaoptc",
Extension(name="mlsauce.adaopt._adaoptc",
library_dirs=["mlsauce/adaopt/"],
runtime_library_dirs=["mlsauce/adaopt/"],
sources=["mlsauce/adaopt/_adaoptc.pyx"],
include_dirs=[numpy.get_include()]),
Extension("mlsauce/booster._boosterc",
Extension(name="mlsauce.booster._boosterc",
library_dirs=["mlsauce/booster/"],
runtime_library_dirs=["mlsauce/booster/"],
sources=["mlsauce/booster/_boosterc.pyx"],
include_dirs=[numpy.get_include()]),
Extension("mlsauce/lasso._lassoc",
Extension(name="mlsauce.lasso._lassoc",
library_dirs=["mlsauce/lasso/"],
runtime_library_dirs=["mlsauce/lasso/"],
sources=["mlsauce/lasso/_lassoc.pyx"],
include_dirs=[numpy.get_include()]),
Extension("mlsauce/ridge._ridgec",
Extension(name="mlsauce.ridge._ridgec",
library_dirs=["mlsauce/ridge/"],
runtime_library_dirs=["mlsauce/ridge/"],
sources=["mlsauce/ridge/_ridgec.pyx"],
include_dirs=[numpy.get_include()]),
Extension("mlsauce/stump._stumpc",
Extension(name="mlsauce.stump._stumpc",
library_dirs=["mlsauce/stump/"],
runtime_library_dirs=["mlsauce/stump/"],
sources=["mlsauce/stump/_stumpc.pyx"],
include_dirs=[numpy.get_include()]),
]
Expand Down

0 comments on commit b6bb7b0

Please sign in to comment.