X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=setup.py;h=49f878a8d06297cce62d450f097eb82f44253003;hp=dff8e816f19f95a96421bde63795fcb2c5eca55e;hb=HEAD;hpb=4331eb89584112cbc092f0b20bf0b4737b1fe4c2 diff --git a/setup.py b/setup.py index dff8e816..49f878a8 100755 --- 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 @@ -17,8 +17,8 @@ from distutils.core import setup # check for the correct version of python major, minor = sys.version_info [0:2] -if (major, minor) != (2, 7): - print ("Sorry, the SFA package is currently available only with python-2.7") +if major <= 2: + print ("Sorry, this version of SFA package requires python3") exit(1)