From 344ce1f4fa27f63a4b8e629026e298b137728680 Mon Sep 17 00:00:00 2001
From: squidfunk <scifish@gmail.com>
Date: Mon, 2 Jan 2017 08:58:18 +0100
Subject: [PATCH] Make theme installable

---
 MANIFEST.in              |  3 ++-
 lib/tasks/views/build.js |  2 +-
 material/__init__.py     |  0
 setup.py                 | 20 ++++++++++----------
 src/__init__.py          |  0
 5 files changed, 13 insertions(+), 12 deletions(-)
 create mode 100644 material/__init__.py
 create mode 100644 src/__init__.py

diff --git a/MANIFEST.in b/MANIFEST.in
index 3bd56b9c..c4fc1ece 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,5 @@
 recursive-include material *.ico *.js *.css *.html *.svg
 recursive-exclude site *
 recursive-exclude * __pycache__
-recursive-exclude * *.py[co]
\ No newline at end of file
+recursive-exclude * *.py[co]
+include LICENSE
diff --git a/lib/tasks/views/build.js b/lib/tasks/views/build.js
index a658e72b..db2f9edb 100644
--- a/lib/tasks/views/build.js
+++ b/lib/tasks/views/build.js
@@ -35,7 +35,7 @@ import version from "gulp-rev-replace"
 export default (gulp, config, args) => {
   return () => {
     const metadata = require(path.join(process.cwd(), "./package.json"))
-    return gulp.src(`${config.views.src}/**/*.html`)
+    return gulp.src(`${config.views.src}/**/*.{html,py}`)
       .pipe(changed(config.views.build))
       .pipe(
         minhtml({
diff --git a/material/__init__.py b/material/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/setup.py b/setup.py
index 08ca72d6..a28afae9 100644
--- a/setup.py
+++ b/setup.py
@@ -22,19 +22,19 @@ from setuptools import setup, find_packages
 
 # Package description
 setup(
-    name = 'mkdocs-material',
-    version = '1.0.0',
-    url = 'http://squidfunk.github.io/mkdocs-material/',
-    license = 'MIT',
-    description = 'A material design theme for MkDocs',
-    author = 'Martin Donath',
-    author_email = 'martin.donath@squidfunk.com',
-    keywords = ['mkdocs', 'documentation', 'theme'],
+    name = "mkdocs-material",
+    version = "1.0.0",
+    url = "http://squidfunk.github.io/mkdocs-material/",
+    license = "MIT",
+    description = "A material design theme for MkDocs",
+    author = "Martin Donath",
+    author_email = "martin.donath@squidfunk.com",
+    keywords = ["mkdocs", "documentation", "theme"],
     packages = find_packages(),
     include_package_data = True,
     entry_points = {
-        'mkdocs.themes': [
-            'material = material',
+        "mkdocs.themes": [
+            "material = material",
         ]
     },
     zip_safe = False
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644
index 00000000..e69de29b
-- 
GitLab