mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
makepanda: Remove support for Python 3.5
This commit is contained in:
parent
7ae3908c5d
commit
e879817ed5
@ -9,8 +9,8 @@
|
||||
########################################################################
|
||||
|
||||
import sys
|
||||
if sys.version_info < (3, 5):
|
||||
print("This version of Python is not supported, use version 3.5 or higher.")
|
||||
if sys.version_info < (3, 6):
|
||||
print("This version of Python is not supported, use version 3.6 or higher.")
|
||||
exit(1)
|
||||
|
||||
try:
|
||||
|
@ -3388,7 +3388,7 @@ def UpdatePythonVersionInfoFile(new_info):
|
||||
version_info["soabi"] == new_info["soabi"] or \
|
||||
not os.path.isfile(core_pyd) or \
|
||||
version_info["version"].split(".", 1)[0] == "2" or \
|
||||
version_info["version"] in ("3.0", "3.1", "3.2", "3.3", "3.4"):
|
||||
version_info["version"] in ("3.0", "3.1", "3.2", "3.3", "3.4", "3.5"):
|
||||
json_data.remove(version_info)
|
||||
|
||||
if not PkgSkip("PYTHON"):
|
||||
|
@ -531,8 +531,8 @@ def makewheel(version, output_dir, platform=None):
|
||||
if not LocateBinary("patchelf"):
|
||||
raise Exception("patchelf is required when building a Linux wheel.")
|
||||
|
||||
if sys.version_info < (3, 5):
|
||||
raise Exception("Python 3.5 is required to produce a wheel.")
|
||||
if sys.version_info < (3, 6):
|
||||
raise Exception("Python 3.6 is required to produce a wheel.")
|
||||
|
||||
if platform is None:
|
||||
# Determine the platform from the build.
|
||||
|
Loading…
x
Reference in New Issue
Block a user