Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
28 lines (23 loc) · 1.11 KB

File metadata and controls

28 lines (23 loc) · 1.11 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Check that the Python version running this is compatible with this installation medium.
Note: that we use 2.x compatible Python code here.
"""
import sys
from setuptools import setup
major = sys.version_info[0]
minor = sys.version_info[1]
if major != 3 or not minor >= 11:
sys.stderr.write("This installation medium is only for Python 3.11 and later. You are running Python %s.%s.\n" % (major, minor))
if major == 3 and 6 <= minor <= 10:
sys.stderr.write("Please install using uncompyle6_36-x.y.z.tar.gz from https://github.com/rocky/python-uncompyle6/releases\n")
sys.exit(1)
elif major == 3 and 3 <= minor <= 5:
sys.stderr.write("Please install using uncompyle6_33-x.y.z.tar.gz from https://github.com/rocky/python-uncompyle6/releases\n")
sys.exit(1)
if major == 3 and 0 <= minor <= 2:
sys.stderr.write("Please install using uncompyle6_30-x.y.z.tar.gz from https://github.com/rocky/python-uncompyle6/releases\n")
sys.exit(1)
elif major == 2:
sys.stderr.write("Please install using uncompyle6_24-x.y.z.tar.gz from https://github.com/rocky/python-uncompyle6/releases\n")
sys.exit(1)
setup()
Morty Proxy This is a proxified and sanitized view of the page, visit original site.