diff --git a/MANIFEST.in b/MANIFEST.in index 3bd56b9c920e05fc91597b9ac39e9889417dd420..c4fc1ece48394aa2c76d7490c5823c873b51a48f 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 a658e72bfc7fff83994886fb5752a13429319e68..db2f9edbcdb92196b88ad7f18fe8a399f101756a 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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/setup.py b/setup.py index 08ca72d6808ae0811d0633d72c15f53480003b56..a28afae93c82e28d206d87a808b23c3aa780ddaf 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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391