Skip to content

Commit

Permalink
Fixed issue with cpp modules when cython is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Aghiles SALAH committed Jul 19, 2018
1 parent 3c5735f commit 971a827
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

else:
ext_c2pf = [setuptools.Extension('c2pf',
['./cornac/models/context_cf/cython/c2pf.cpp'],
include_dirs=['./cornac/models/context_cf/cpp/','./cornac/utils/external/eigen/Eigen','./cornac/utils/external/eigen/unsupported/Eigen/'],
language="c++")]
sources=['./cornac/models/context_cf/cython/c2pf.cpp', "./cornac/models/context_cf/cpp/cpp_c2pf.cpp"],
language='c++',
include_dirs=['./cornac/models/context_cf/cpp/','./cornac/utils/external/eigen/Eigen','./cornac/utils/external/eigen/unsupported/Eigen/'])]
external_modules += ext_c2pf
#
ext_pmf = [setuptools.Extension('pmf',
Expand Down

0 comments on commit 971a827

Please sign in to comment.