pagure.wsgi 1019 B

12345678910111213141516171819202122232425262728
  1. #-*- coding: utf-8 -*-
  2. # The three lines below are required to run on EL6 as EL6 has
  3. # two possible version of python-sqlalchemy and python-jinja2
  4. # These lines make sure the application uses the correct version.
  5. #import __main__
  6. #__main__.__requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4']
  7. #import pkg_resources
  8. #import os
  9. ## Set the environment variable pointing to the configuration file
  10. #os.environ['PAGURE_CONFIG'] = '/etc/pagure/pagure.cfg'
  11. ## Set the environment variable if the tmp folder needs to be moved
  12. ## Might be necessary to work around bug in libgit2:
  13. ## refs: https://github.com/libgit2/libgit2/issues/2965
  14. ## and https://github.com/libgit2/libgit2/issues/2797
  15. #os.environ['TEMP'] = '/var/tmp/'
  16. ## The following is only needed if you did not install pagure
  17. ## as a python module (for example if you run it from a git clone).
  18. #import sys
  19. #sys.path.insert(0, '/path/to/pagure/')
  20. ## The most import line to make the wsgi working
  21. #from pagure import APP as application
  22. #application.debug = True