Merge pull request #93 from gcarq/feature/interpreter-version-check
add interpreter version check
This commit is contained in:
commit
e66dc8b027
6
setup.py
6
setup.py
@ -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__
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user