Skip to content

Commit e5cb7ba

Browse files
fixing setup.py
1 parent 3fb2112 commit e5cb7ba

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

setup.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44

55
def get_requirements():
66
"""Get requirements based on Python version"""
7-
python_version = sys.version_info
8-
9-
if python_version.major == 3 and python_version.minor >= 10 and python_version.minor <= 12:
10-
req_file = "requirements.txt"
11-
else:
12-
print(f"Warning: Python version {python_version.major}.{python_version.minor} is not officially supported.")
7+
8+
req_file = "requirements.txt"
9+
1310

1411
print(f"Using requirements from: {req_file}")
1512

0 commit comments

Comments
 (0)