From 26f9667655eae46c322992518456594991bdb6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Sat, 31 Aug 2019 12:27:56 +0200 Subject: [PATCH] Fix missing template files from python package MANIFEST.in is unavoidable, as the template folder contains python files. --- MANIFEST.in | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..50e48b3 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include tutor/templates * diff --git a/setup.py b/setup.py index 1795ff7..18dd126 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( description="The Open edX distribution for the busy system administrator", long_description=readme, packages=find_packages(exclude=["tests*"]), - package_data={"tutor": ["templates/**"]}, + include_package_data=True, python_requires=">=3.5", install_requires=["appdirs", "click>=7.0", "click_repl", "jinja2", "pyyaml>=4.2b1"], entry_points={"console_scripts": ["tutor=tutor.commands.cli:main"]},