Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit c4425a28d182e3eb46ff7a7dbfa5ae1cb3437a12
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Thu Jan 10 21:37:21 2013 +0100
Add import pkg_resources to be able to run fedocal on EL6
---------------------------------------------------------------
createdb.py | 4 ++++
runserver.py | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/createdb.py b/createdb.py
index 482e4e0..baf10ee 100644
--- a/createdb.py
+++ b/createdb.py
@@ -1,5 +1,9 @@
#!/usr/bin/python
+## These two lines are needed to run on EL6
+__requires__ = ['SQLAlchemy >= 0.7', 'jinja2 >= 2.4']
+import pkg_resources
+
from fedocal import APP
from fedocal.fedocallib import model
diff --git a/runserver.py b/runserver.py
index 2802474..5fc50d6 100644
--- a/runserver.py
+++ b/runserver.py
@@ -1,5 +1,9 @@
#!/usr/bin/python
+## These two lines are needed to run on EL6
+__requires__ = ['SQLAlchemy >= 0.7', 'jinja2 >= 2.4']
+import pkg_resources
+
from fedocal import APP
APP.debug=True
APP.run()