From ae8a6e73cfdc1bb1e442d557aa5d95dd611a31ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20MOHIER?= <frederic.mohier@gmail.com>
Date: Sat, 15 Oct 2016 08:38:43 +0200
Subject: [PATCH 1/2] Test for seup installation in alignak

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 4a59b08..e64515d 100755
--- a/setup.py
+++ b/setup.py
@@ -107,7 +107,7 @@ def run(self):
     data_files = data_files,
 
     # Dependencies (if some) ...
-    install_requires=[''],
+    install_requires=['alignak_setup'],
 
     # Entry points (if some) ...
     entry_points={

From 7d51e7920a38ec60f21c782b26d8248d797667e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20MOHIER?= <frederic.mohier@gmail.com>
Date: Sat, 15 Oct 2016 09:13:39 +0200
Subject: [PATCH 2/2] Setup requires only python 2.6 rather than 2.7

---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index e64515d..afaafae 100755
--- a/setup.py
+++ b/setup.py
@@ -20,8 +20,8 @@
     python_version = sys.version_info
 except:
     python_version = (1, 5)
-if python_version < (2, 7):
-    sys.exit("This application requires a minimum Python 2.7.x, sorry!")
+if python_version < (2, 6):
+    sys.exit("This application requires a minimum Python 2.6.x, sorry!")
 elif python_version >= (3,):
     sys.exit("This application is not yet compatible with Python 3.x, sorry!")