Skip to content
Snippets Groups Projects
  1. May 17, 2016
  2. May 12, 2016
  3. May 11, 2016
  4. May 04, 2016
  5. Apr 25, 2016
  6. Apr 24, 2016
  7. Apr 20, 2016
  8. Apr 06, 2016
  9. Apr 01, 2016
  10. Mar 30, 2016
  11. Mar 29, 2016
  12. Mar 28, 2016
  13. Mar 22, 2016
  14. Mar 21, 2016
  15. Mar 16, 2016
  16. Mar 07, 2016
  17. Mar 02, 2016
    • Jacob McDonald's avatar
      Reworked how PyOpenCL module finds its path · 12999015
      Jacob McDonald authored
      Previously, `pkg_resources` was used to find the location of the PyOpenCL module so that the include path could be constructed.
      This commit replaces that by simply using the __file__ and os.path utilities
      
      This change fixes an incompatibility with PyOpenCL and pyinstaller/cxfreeze/etc. When frozen, distutils is not able to resolve the PyOpenCL package directly and subsequently raises a DistributionNotFound error. Since we are the PyOpenCL package, we don't need to be using distutils to resolve it. This issue was [reported](https://lists.tiker.net/pipermail/pyopencl/2014-October/001832.html) by someone else in the pyopencl mailing list as well.
      12999015
Loading