Merge pull request #93 from gcarq/feature/interpreter-version-check

add interpreter version check
This commit is contained in:
Michael Egger 2017-11-06 17:23:53 +01:00 committed by GitHub
commit e66dc8b027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,11 @@
from sys import version_info
from setuptools import setup 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__ from freqtrade import __version__