From df0d2bef4f45cb5bb9b88995d339ea5674175ee7 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 29 Nov 2016 13:14:05 +0100
Subject: [PATCH] Add pytools as a submodule

---
 .gitmodules           | 3 +++
 python/CMakeLists.txt | 1 +
 python/pytools        | 1 +
 3 files changed, 5 insertions(+)
 create mode 160000 python/pytools

diff --git a/.gitmodules b/.gitmodules
index 641c780c..daef624a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -14,3 +14,6 @@
 [submodule "dune/perftool/vectorclass"]
 	path = dune/perftool/vectorclass
 	url = https://github.com/darealshinji/vectorclass.git
+[submodule "python/pytools"]
+	path = python/pytools
+	url = https://github.com/inducer/pytools.git
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index e3c67559..6346c1f7 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -9,6 +9,7 @@ create_virtualenv_wrapper(COMMANDS python -m IPython notebook
                           NAME notebook)
 
 # Install all the external packages that we have as submodules
+dune_install_python_package(PATH pytools)
 dune_install_python_package(PATH cgen)
 dune_install_python_package(PATH pymbolic)
 dune_install_python_package(PATH loopy)
diff --git a/python/pytools b/python/pytools
new file mode 160000
index 00000000..6c5830f6
--- /dev/null
+++ b/python/pytools
@@ -0,0 +1 @@
+Subproject commit 6c5830f6e007f4ece99d75c83b0f72550cad80c2
-- 
GitLab