Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.12 #3

Merged
merged 12 commits into from
Jun 17, 2024
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ 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 (3,6) <= sys.version_info < (4,), "python version >= 3.6, <4 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 +47,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 +80,7 @@ def is_win():

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