X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=setup.py;h=49f878a8d06297cce62d450f097eb82f44253003;hp=6b624df8e23ab79592838669385593b67f9d50c0;hb=HEAD;hpb=4a9e6751f9f396f463932133b9d62fc925a99ef6 diff --git a/setup.py b/setup.py index 6b624df8..49f878a8 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 @@ -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)