tanliyon / gym-xiangqi

This repo sets up the environment to play Xiang Qi (chinese chess) following the OpenAI Gym framework.
GNU Lesser General Public License v3.0
32 stars 6 forks source link

Publish to pypi #47

Closed tanliyon closed 3 years ago

tanliyon commented 3 years ago

Description

This PR adds the files needed to properly publish to PyPI while maintaining all the functionalities.

Specifically:

Our project has also been published to PyPI! Here's the link: https://pypi.org/project/gym-xiangqi/1.1.0/.

It is at version 0.2.0, and versions 1.0.X has bugs from my experimenting.

For v0.2.0, the image on PyPI is not rendered properly, but it has now been fixed and will be fine in the next release. Here's the example on test-pypi: https://test.pypi.org/project/gym-xiangqi/0.2.0/

Type of change

How has this been tested?

  1. Create a new virtual environment.
  2. Run pip install gym-xiangqi==1.1.0.
  3. Try importing gym_xiangqi.
  4. Run agent-v-agent.
dooki114 commented 3 years ago

LGTM!