1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-10 20:05:02 +02:00

Problem: Python version not check before running (#2179)

Solution: Check python version
This commit is contained in:
Vanshdeep Singh 2018-04-05 15:29:32 +02:00 committed by vrde
parent 6181e52dbd
commit d28b9019c0

View File

@ -5,8 +5,12 @@ For full docs visit https://docs.bigchaindb.com
"""
from setuptools import setup, find_packages
import sys
if sys.version_info < (3, 6):
sys.exit('Please use python version 3.6 or higher')
# get the version
version = {}
with open('bigchaindb/version.py') as fp:
@ -107,7 +111,7 @@ setup(
author_email='dev@bigchaindb.com',
license='Apache Software License 2.0',
zip_safe=False,
python_requires='>=3.6',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',