From 2a6a1fe48ee65eb71974ff0f413d5621f6f1a4b2 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 10 May 2016 22:02:43 -0500
Subject: [PATCH] Packaging fixes for Random123

---
 MANIFEST.in | 3 +--
 setup.py    | 7 ++++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index f90af75e..34b0db7a 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,4 @@
-include pyopencl/cl/*.h
-include pyopencl/cl/*.cl
+recursive-include pyopencl/cl *.h *.cl
 
 include src/c_wrapper/*.hpp
 include src/c_wrapper/*.h
diff --git a/setup.py b/setup.py
index d831106d..fd88b646 100644
--- a/setup.py
+++ b/setup.py
@@ -224,7 +224,12 @@ def main():
 
             include_package_data=True,
             package_data={
-                    "pyopencl": ["cl/*.cl", "cl/*.h"]
+                    "pyopencl": [
+                        "cl/*.cl",
+                        "cl/*.h",
+                        "cl/pyopencl-random123/*.cl",
+                        "cl/pyopencl-random123/*.h",
+                        ]
                     },
 
             zip_safe=False)
-- 
GitLab