mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Python version not check before running (#2179)
Solution: Check python version
This commit is contained in:
parent
6181e52dbd
commit
d28b9019c0
6
setup.py
6
setup.py
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user