prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Add `pgx.__version__`
  
  
  </issue>
  <code>
  [start of setup.py]
  1 from setuptools import find_packages, setup
  2 from pathlib import Path
  3 
  4 long_description = (Path(__file__).parent / "README.md").read_text()
  5 
  6 setup(
  7     name="pgx",
  8     version="0.7.4",
  9     description="GPU/TPU-accelerated parallel game simulators for reinforcement learning (RL)",
  10     long_description=long_description,
  11     long_description_content_type="text/markdown",
  12     url="https://github.com/sotetsuk/pgx",
  13     author="Sotetsu KOYAMADA",
  14     author_email="sotetsu.koyamada@gmail.com",
  15     keywords="",
  16     packages=find_packages(),
  17     package_data={
  18         "": ["LICENSE", "*.svg", "_src/assets/*.npy", "_mahjong/*.json"]
  19     },
  20     include_package_data=True,
  21     install_requires=[
  22         "jax>=0.3.25",  # JAX version on Colab (TPU)
  23         "svgwrite",
  24         "typing_extensions",
  25     ],
  26     classifiers=[
  27         "Programming Language :: Python :: 3.8",
  28         "Programming Language :: Python :: 3.9",
  29         "Programming Language :: Python :: 3.10",
  30     ],
  31 )
  32
  [end of setup.py]
  [start of pgx/__init__.py]
  1 from pgx._src.api_test import v1_api_test
  2 from pgx._src.visualizer import (
  3     save_svg,
  4     save_svg_animation,
  5     set_visualization_config,
  6 )
  7 from pgx.v1 import Env, EnvId, State, available_envs, make
  8 
  9 __all__ = [
  10     # v1 api components
  11     "State",
  12     "Env",
  13     "EnvId",
  14     "make",
  15     "available_envs",
  16     # visualization
  17     "set_visualization_config",
  18     "save_svg",
  19     "save_svg_animation",
  20     # api tests
  21     "v1_api_test",
  22 ]
  23
  [end of pgx/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/pgx/__init__.py b/pgx/__init__.py
  --- a/pgx/__init__.py
  +++ b/pgx/__init__.py
  @@ -6,6 +6,8 @@
   )
   from pgx.v1 import Env, EnvId, State, available_envs, make
   
  +__version__ = "0.8.0"
  +
   __all__ = [
       # v1 api components
       "State",
  diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -5,7 +5,6 @@
   
   setup(
       name="pgx",
  -    version="0.7.4",
       description="GPU/TPU-accelerated parallel game simulators for reinforcement learning (RL)",
       long_description=long_description,
       long_description_content_type="text/markdown",
  
verification_info: {"golden_diff": "diff --git a/pgx/__init__.py b/pgx/__init__.py\n--- a/pgx/__init__.py\n+++ b/pgx/__init__.py\n@@ -6,6 +6,8 @@\n )\n from pgx.v1 import Env, EnvId, State, available_envs, make\n \n+__version__ = \"0.8.0\"\n+\n __all__ = [\n     # v1 api components\n     \"State\",\ndiff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -5,7 +5,6 @@\n \n setup(\n     name=\"pgx\",\n-    version=\"0.7.4\",\n     description=\"GPU/TPU-accelerated parallel game simulators for reinforcement learning (RL)\",\n     long_description=long_description,\n     long_description_content_type=\"text/markdown\",\n", "issue": "Add `pgx.__version__`\n\n", "before_files": [{"content": "from setuptools import find_packages, setup\nfrom pathlib import Path\n\nlong_description = (Path(__file__).parent / \"README.md\").read_text()\n\nsetup(\n    name=\"pgx\",\n    version=\"0.7.4\",\n    description=\"GPU/TPU-accelerated parallel game simulators for reinforcement learning (RL)\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/sotetsuk/pgx\",\n    author=\"Sotetsu KOYAMADA\",\n    author_email=\"sotetsu.koyamada@gmail.com\",\n    keywords=\"\",\n    packages=find_packages(),\n    package_data={\n        \"\": [\"LICENSE\", \"*.svg\", \"_src/assets/*.npy\", \"_mahjong/*.json\"]\n    },\n    include_package_data=True,\n    install_requires=[\n        \"jax>=0.3.25\",  # JAX version on Colab (TPU)\n        \"svgwrite\",\n        \"typing_extensions\",\n    ],\n    classifiers=[\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Programming Language :: Python :: 3.10\",\n    ],\n)\n", "path": "setup.py"}, {"content": "from pgx._src.api_test import v1_api_test\nfrom pgx._src.visualizer import (\n    save_svg,\n    save_svg_animation,\n    set_visualization_config,\n)\nfrom pgx.v1 import Env, EnvId, State, available_envs, make\n\n__all__ = [\n    # v1 api components\n    \"State\",\n    \"Env\",\n    \"EnvId\",\n    \"make\",\n    \"available_envs\",\n    # visualization\n    \"set_visualization_config\",\n    \"save_svg\",\n    \"save_svg_animation\",\n    # api tests\n    \"v1_api_test\",\n]\n", "path": "pgx/__init__.py"}]}