mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-05 04:48:00 +00:00
Fix jinja2 dependency
jinja2 should include the `tojson` filter, which is only available in 2.9 (Released 2017-01-07, codename Derivation).
This commit is contained in:
parent
8d4f335716
commit
5675af4d42
@ -1,5 +1,5 @@
|
||||
appdirs
|
||||
click>=7.0
|
||||
click_repl
|
||||
jinja2
|
||||
jinja2>=2.9
|
||||
pyyaml>=4.2b1
|
||||
|
7
setup.py
7
setup.py
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user