Skip to content

Commit

Permalink
Allow Python 3.13 ...
Browse files Browse the repository at this point in the history
although tests don't fully work
  • Loading branch information
rocky committed Oct 14, 2024
1 parent b9ff044 commit 010b46c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from setuptools import find_packages, setup

SYS_VERSION = sys.version_info[0:2]
if not ((3, 1) <= SYS_VERSION < (3, 13)):
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."
if (2, 4) <= SYS_VERSION <= (2, 7):
mess += "\nFor your Python, version %s, See trepan2" % sys.version[0:3]
mess += f"\nFor your Python, version {sys.version[0:3]}, See trepan2"
elif SYS_VERSION < (2, 4):
mess += "\nFor your Python, version %s, see pydb" % sys.version[0:3]
mess += f"\nFor your Python, version {sys.version[0:3]}, see pydb"
print(mess)
raise Exception(mess)

Expand Down

0 comments on commit 010b46c

Please sign in to comment.