add interpreter version check

This commit is contained in:
gcarq 2017-11-05 17:44:58 +01:00
parent a237225683
commit 3e7700e9ac

View File

@ -1,5 +1,11 @@
from sys import version_info
from setuptools import setup
if version_info.major == 3 and version_info.minor < 6 or \
version_info.major < 3:
print('Your Python interpreter must be 3.6 or greater!')
exit(1)
from freqtrade import __version__