Skip to content

Commit

Permalink
Jinja3 doesn't support PY2
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Mar 23, 2020
1 parent c97d880 commit 29101cd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ def get_description(fname='README.rst'):
# Requirements to install buffet plugins and engines
_extra_genshi = ["Genshi >= 0.3.5"]
_extra_mako = ["Mako >= 0.1.1"]
_extra_jinja = ["jinja2"]
_extra_chameleon = ["chameleon"]
_extra_kajiki = ["kajiki >= 0.5.0"]

if sys.version_info[0] == 2:
_extra_jinja = ["jinja2 < 3.0"]
else:
_extra_jinja = ["jinja2"]



requires = [
'WebOb>=0.9.7',
'PasteDeploy',
Expand Down

0 comments on commit 29101cd

Please sign in to comment.