Skip to content

Commit

Permalink
package assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Armandpl committed Oct 11, 2024
1 parent 0c7e521 commit 5da630f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
recursive-include metadrive/assets/ *
recursive-include metadrive\\assets\\ *
recursive-include metadrive\assets\ *

recursive-include metadrive/examples/ *
recursive-include metadrive\\examples\\ *
recursive-include metadrive\examples\ *
Expand All @@ -12,4 +16,4 @@ recursive-include metadrive\shaders\ *

recursive-include metadrive/third_party/simplepbr/shaders/ *
recursive-include metadrive\\third_party\\simplepbr\\shaders\\ *
recursive-include metadrive\third_party\simplepbr\shaders\ *
recursive-include metadrive\third_party\simplepbr\shaders\ *
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ def is_win():
)

"""
how to update for xx:
1. make sure assets are downloaded: `python -m metadrive.pull_asset --update`
2. build package `python -m build`
3. update github release with files under dist/
How to publish to pypi and Draft github Release? Noted by Zhenghao and Quanyi in Dec 27, 2020.
0. Checkout a new branch from main called releases/x.y.z
Expand Down

0 comments on commit 5da630f

Please sign in to comment.