6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

Fix missing templates folder in pypi plugins

This was causing a `TemplateNotFound` error. For instance:
https://discuss.overhang.io/t/error-trying-to-enable-xqueue-plugin/110
This commit is contained in:
Régis Behmo 2019-08-07 12:55:03 +02:00
parent 91e357b460
commit f732a9e3eb
8 changed files with 13 additions and 9 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Latest
- [Bugfix] Fix missing templates in bundled plugins
- [Bugfix] Enable html certificate view
## 3.6.1 (2019-07-27)

View File

@ -1 +1,2 @@
recursive-include tutorminio/patches *
recursive-include tutorminio/templates *

View File

@ -1,6 +1,6 @@
import io
import os
from setuptools import setup
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
@ -10,7 +10,7 @@ with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
setup(
name="tutor-minio",
version="0.1.0",
version="0.1.1",
url="https://docs.tutor.overhang.io/",
project_urls={
"Documentation": "https://docs.tutor.overhang.io/",
@ -23,7 +23,7 @@ setup(
author_email="contact@overhang.io",
description="A Tutor plugin for object storage in MinIO",
long_description=readme,
packages=["tutorminio"],
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.5",
entry_points={"tutor.plugin.v0": ["minio = tutorminio.plugin"]},

View File

@ -1 +1,2 @@
recursive-include tutornotes/patches *
recursive-include tutornotes/templates *

View File

@ -1,6 +1,6 @@
import io
import os
from setuptools import setup
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
@ -10,7 +10,7 @@ with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
setup(
name="tutor-notes",
version="0.0.2",
version="0.1.0",
url="https://docs.tutor.overhang.io/",
project_urls={
"Documentation": "https://docs.tutor.overhang.io/",
@ -23,7 +23,7 @@ setup(
author_email="contact@overhang.io",
description="A Tutor plugin for student notes",
long_description=readme,
packages=["tutornotes"],
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.5",
entry_points={"tutor.plugin.v0": ["notes = tutornotes.plugin"]},

View File

@ -1 +1,2 @@
recursive-include tutorxqueue/patches *
recursive-include tutorxqueue/templates *

View File

@ -1,6 +1,6 @@
import io
import os
from setuptools import setup
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
@ -10,7 +10,7 @@ with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
setup(
name="tutor-xqueue",
version="0.0.1",
version="0.1.0",
url="https://docs.tutor.overhang.io/",
project_urls={
"Documentation": "https://docs.tutor.overhang.io/",
@ -23,7 +23,7 @@ setup(
author_email="contact@overhang.io",
description="A Tutor plugin for Xqueue (external grading system)",
long_description=readme,
packages=["tutorxqueue"],
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.5",
entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]},