Skip to content

Commit

Permalink
Make sure packages related to pyopencl are fully installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Apr 9, 2018
1 parent 59692e5 commit 86e8fcf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cx_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,13 @@ def dummy(*var, **kw):
special_modules.append(os.path.dirname(h5py.__file__))
if OPENCL:
special_modules.append(os.path.dirname(pyopencl.__file__))
includes.append("pytools")
import mako
import cffi
import pytools
special_modules.append(os.path.dirname(mako.__file__))
special_modules.append(os.path.dirname(cffi.__file__))
special_modules.append(os.path.dirname(pytools.__file__))
#includes.append("pytools")
includes.append("decorator")
else:
excludes.append("pyopencl")
Expand Down

0 comments on commit 86e8fcf

Please sign in to comment.