1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

bump min Python version to 3.7; check python version at start

This commit is contained in:
checktheroads
2019-12-30 23:00:53 -07:00
parent 7d97b9330c
commit 8d19cf159f
4 changed files with 31 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
import sys
from distutils.core import setup
if sys.version_info < (3, 6):
sys.exit("Python 3.6+ is required.")
if sys.version_info < (3, 7):
sys.exit("Python 3.7+ is required.")
with open("README.md", "r") as ld:
@@ -21,7 +21,7 @@ setup(
author_email="matt@hyperglass.io",
description=desc,
url="https://github.com/checktheroads/hyperglass",
python_requires=">=3.6",
python_requires=">=3.7",
packages=["hyperglass"],
install_requires=requirements,
license="BSD 3-Clause Clear License",