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

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

Solution: Check python version
This commit is contained in:
vrde 2018-05-11 09:15:48 +02:00 committed by Vanshdeep Singh
parent 089cb5d24f
commit 4a23fa6629

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',