Wait - I think I overstated the problem. Seems that adding numpy to setup_requires and install_requires is enough.
I downloaded the source tarball (pyopencl-2014.1.tar.gz) from PyPI. Then running: pip install -e pyopencl-2014.1 gives me the "ImportError: No module named numpy” from aksetup_helper.py. This is the same as running “pip install pyopencl”, downloading the source from PyPI. I then modified setup.py to include numpy in setup_requires and install_requires (the version in PyPI has neither), and everything seems to work fine. Note that this was all tested using miniconda clean installs each time. Do you require any minimum version of numpy? Tim > On 9 Feb 2015, at 19:44, Andreas Kloeckner <[email protected]> wrote: > > Tim Rudge <[email protected]> writes: >> Great I will do that today. I also made a Conda recipe for pyopencl, >> along with a few dependencies (appdirs, mako and pytools), which I was >> going to upload to binstar. Then “conda install pyopencl” should >> work. Any objection to this? > > No objection at all. :) > > Andreas > _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
