From 59fcf3f08ba863bc974c72886f22acc51fcea3dc Mon Sep 17 00:00:00 2001 From: Yann Bouteiller Date: Tue, 8 Nov 2022 21:39:36 -0500 Subject: [PATCH] preparing for release --- .github/workflows/python-package.yml | 2 +- setup.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ebac44a..5662a59 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index 475b947..a273662 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,13 @@ from setuptools import setup, find_packages +import sys from pathlib import Path +if sys.version_info < (3, 7): + sys.exit('Sorry, Python < 3.7 is not supported, upgrade your python installation to use tlspyo.') + + DEFAULT_KEYS_FOLDER = Path.home() / "tlspyo" / "credentials" if not DEFAULT_KEYS_FOLDER.exists(): DEFAULT_KEYS_FOLDER.mkdir(parents=True, exist_ok=True)