git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restart all 3 service upon make sync
[sfa.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
dff8e81
..
49f878a
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-1,6
+1,6
@@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
-from __future__ import print_function
"""
Installation script for the sfa module
"""
Installation script for the sfa module
@@
-17,8
+17,8
@@
from distutils.core import setup
# check for the correct version of python
major, minor = sys.version_info [0:2]
# check for the correct version of python
major, minor = sys.version_info [0:2]
-if
(major, minor) != (2, 7)
:
- print ("Sorry, th
e SFA package is currently available only with python-2.7
")
+if
major <= 2
:
+ print ("Sorry, th
is version of SFA package requires python3
")
exit(1)
exit(1)