Make pagure use pygments2 explicitely

Got the +1 from Peter and Patrick on IRC, thanks for that!
This commit is contained in:
Pierre-Yves Chibon 2017-10-26 11:04:50 +02:00
parent 5598d8dae6
commit a199694786
3 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,7 @@
- pagure-milters
- pagure-webhook
- python-psycopg2
- python2-pygments2
- redis
- libsemanage-python
- python-fedora-flask

View file

@ -12,6 +12,7 @@
- pagure-milters
- pagure-webhook
- python-psycopg2
- python2-pygments2
- redis
- libsemanage-python
- mod_ssl

View file

@ -4,7 +4,7 @@
# two possible version of python-sqlalchemy and python-jinja2
# These lines make sure the application uses the correct version.
import __main__
__main__.__requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4']
__main__.__requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4', 'Pygments>=2.1.0']
import pkg_resources
import os