Skip to content

Commit

Permalink
Problem: Python version not check before running (#2179)
Browse files Browse the repository at this point in the history
Solution: Check python version
  • Loading branch information
kansi authored and vrde committed Apr 5, 2018
1 parent 6181e52 commit d28b901
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
"""
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:
Expand Down Expand Up @@ -107,7 +111,7 @@ def check_setuptools_features():
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',
Expand Down

0 comments on commit d28b901

Please sign in to comment.