We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ff044 commit 010b46cCopy full SHA for 010b46c
1 file changed
setup.py
@@ -4,12 +4,12 @@
4
from setuptools import find_packages, setup
5
6
SYS_VERSION = sys.version_info[0:2]
7
-if not ((3, 1) <= SYS_VERSION < (3, 13)):
8
- mess = "Python Versions 3.1 to 3.12 are supported only in this package."
+if not ((3, 1) <= SYS_VERSION < (3, 14)):
+ mess = "Python Versions 3.1 to 3.13 are supported only in this package."
9
if (2, 4) <= SYS_VERSION <= (2, 7):
10
- mess += "\nFor your Python, version %s, See trepan2" % sys.version[0:3]
+ mess += f"\nFor your Python, version {sys.version[0:3]}, See trepan2"
11
elif SYS_VERSION < (2, 4):
12
- mess += "\nFor your Python, version %s, see pydb" % sys.version[0:3]
+ mess += f"\nFor your Python, version {sys.version[0:3]}, see pydb"
13
print(mess)
14
raise Exception(mess)
15
0 commit comments