Skip to content
Snippets Groups Projects
Commit 5675af4d authored by Régis Behmo's avatar Régis Behmo
Browse files

Fix jinja2 dependency

jinja2 should include the `tojson` filter, which is only available in
2.9 (Released 2017-01-07, codename Derivation).
parent 8d4f3357
Branches
No related tags found
No related merge requests found
appdirs
click>=7.0
click_repl
jinja2
jinja2>=2.9
pyyaml>=4.2b1
......@@ -10,6 +10,11 @@ with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
about = {}
with io.open(os.path.join(here, "tutor", "__about__.py"), "rt", encoding="utf-8") as f:
exec(f.read(), about)
requirements = []
with io.open(
os.path.join(here, "requirements", "base.in"), "rt", encoding="utf-8"
) as f:
requirements = [line.strip() for line in f]
setup(
name="tutor-openedx",
......@@ -30,7 +35,7 @@ setup(
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.5",
install_requires=["appdirs", "click>=7.0", "click_repl", "jinja2", "pyyaml>=4.2b1"],
install_requires=requirements,
entry_points={"console_scripts": ["tutor=tutor.commands.cli:main"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment