Skip to content

Commit

Permalink
support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed May 23, 2024
1 parent 233a3a1 commit bae9413
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def is_win():
return sys.platform == "win32"


assert sys.version_info.major == 3 and sys.version_info.minor >= 6 and sys.version_info.minor < 12, \
"python version >= 3.6, <3.12 is required"
assert sys.version_info.major == 3 and sys.version_info.minor >= 6 and sys.version_info.minor < 13, \
"python version >= 3.6, <3.13 is required"

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
Expand All @@ -48,8 +48,7 @@ def is_win():
"seaborn",
"tqdm",
"progressbar",
# "panda3d==1.10.8",
"panda3d==1.10.13",
"panda3d==1.10.14",
"panda3d-gltf==0.13", # 0.14 will bring some problems
"pillow",
"pytest",
Expand Down Expand Up @@ -82,7 +81,7 @@ def is_win():

setup(
name="metadrive-simulator",
python_requires='>=3.6, <3.12', # do version check with assert
python_requires='>=3.6, <3.13', # do version check with assert
version=VERSION,
description="An open-ended driving simulator with infinite scenes",
url="https://github.com/metadriverse/metadrive",
Expand Down

0 comments on commit bae9413

Please sign in to comment.