mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Solution: Check python version
This commit is contained in:
parent
089cb5d24f
commit
4a23fa6629
6
setup.py
6
setup.py
@ -5,8 +5,12 @@ For full docs visit https://docs.bigchaindb.com
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
from setuptools import setup, find_packages
|
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
|
# get the version
|
||||||
version = {}
|
version = {}
|
||||||
with open('bigchaindb/version.py') as fp:
|
with open('bigchaindb/version.py') as fp:
|
||||||
@ -107,7 +111,7 @@ setup(
|
|||||||
author_email='dev@bigchaindb.com',
|
author_email='dev@bigchaindb.com',
|
||||||
license='Apache Software License 2.0',
|
license='Apache Software License 2.0',
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
python_requires='>=3.6',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 3 - Alpha',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user