Skip to content

Commit

Permalink
version 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanyiLi committed May 3, 2022
1 parent 4bb9cd2 commit 592ff17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadrive/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from panda3d.core import Vec3
from panda3d.core import Vec4, BitMask32

EDITION = "MetaDrive v0.2.3"
EDITION = "MetaDrive v0.2.5"
DEFAULT_AGENT = "default_agent"
RENDER_MODE_NONE = "none" # Do not render
RENDER_MODE_ONSCREEN = "onscreen" # Pop up a window and draw image in it
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def is_win():
print("We will install the following packages: ", packages)

""" ===== Remember to modify the PG_EDITION at first ====="""
version = "0.2.3"
version = "0.2.5"

install_requires = [
"gym",
Expand Down Expand Up @@ -64,8 +64,10 @@ def is_win():
"""
How to publish to pypi? Noted by Zhenghao in Dec 27, 2020.
0. Rename version in metadrive/constants.py and setup.py
1. Remove old files and ext_modules from setup() to get a clean wheel for all platforms in py3-none-any.wheel
rm -rf dist/ build/ documentation/build/ metadrive.egg-info/ docs/build/
rm -rf dist/ build/ documentation/build/ metadrive_simulator.egg-info/ docs/build/
2. Rename current version to X.Y.Z.rcA, where A is arbitrary value represent "release candidate A".
This is really important since pypi do not support renaming and re-uploading.
Expand Down

0 comments on commit 592ff17

Please sign in to comment.