Bump base version to Python 3.7

This commit is contained in:
James Lu 2021-12-25 00:32:32 -08:00
parent e6401a19df
commit 8d01eaa5c8
2 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ There is also an IRC channel available: `#pylink @ irc.libera.chat`
## Installation
### Pre-requisites
* CPython 3.5 or above (other interpreters are untested and unsupported)
* Python 3.7 or above - prefer the newest Python 3.x when available
* A Unix-like operating system: PyLink is actively developed on Linux only, so we cannot guarantee that things will work properly on other systems.
If you are a developer and want to help make PyLink more portable, patches are welcome.

View File

@ -4,8 +4,8 @@ import subprocess
import sys
from codecs import open
if sys.version_info < (3, 4):
raise RuntimeError("PyLink requires Python 3.4 or higher.")
if sys.version_info < (3, 7):
raise RuntimeError("PyLink requires Python 3.7 or higher.")
try:
from setuptools import setup, find_packages
@ -76,10 +76,10 @@ setup(
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='IRC services relay',