Skip to content

Commit

Permalink
Python3.12 (#3)
Browse files Browse the repository at this point in the history
* support Python 3.12

* initial release setup

* release-0.2.0

* update asset_url

* release-0.3.0

* type

* clean

* format

* version <4

---------

Co-authored-by: BBBmau <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
  • Loading branch information
3 people committed Jun 17, 2024
1 parent 05ec6c8 commit c921830
Showing 1 changed file with 3 additions and 5 deletions.
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

0 comments on commit c921830

Please sign in to comment.