Make pagure use pygments2 explicitely
Got the +1 from Peter and Patrick on IRC, thanks for that!
This commit is contained in:
parent
5598d8dae6
commit
a199694786
3 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
- pagure-milters
|
- pagure-milters
|
||||||
- pagure-webhook
|
- pagure-webhook
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
|
- python2-pygments2
|
||||||
- redis
|
- redis
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
- python-fedora-flask
|
- python-fedora-flask
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
- pagure-milters
|
- pagure-milters
|
||||||
- pagure-webhook
|
- pagure-webhook
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
|
- python2-pygments2
|
||||||
- redis
|
- redis
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
- mod_ssl
|
- mod_ssl
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# two possible version of python-sqlalchemy and python-jinja2
|
# two possible version of python-sqlalchemy and python-jinja2
|
||||||
# These lines make sure the application uses the correct version.
|
# These lines make sure the application uses the correct version.
|
||||||
import __main__
|
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 pkg_resources
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue