From 71a278505c5296d67f5481a06533298cbe244a0b Mon Sep 17 00:00:00 2001 From: TE-KazuhiroYabe Date: Fri, 31 May 2024 11:28:34 +0900 Subject: [PATCH] build: update version to 1.1.0 --- docs/install_toio.py | 44 +++++++++++++++--------------- pyproject.toml | 2 +- pythonista3/install_toio.py.in | 4 +-- pythonista3/make_install_script.sh | 3 +- 4 files changed, 26 insertions(+), 27 deletions(-) diff --git a/docs/install_toio.py b/docs/install_toio.py index c345c5d..80cb2b0 100644 --- a/docs/install_toio.py +++ b/docs/install_toio.py @@ -35,8 +35,8 @@ def get_latest_toio_py(min="1.1.0a1", max="1.2.0"): max_ver = parse(max) latest = Version("0.0.0") found_specified_version = False - # query = "https://pypi.org/pypi/toio-py/json" - query = "https://test.pypi.org/pypi/toio-py/json" + query = "https://pypi.org/pypi/toio-py/json" + # query = "https://test.pypi.org/pypi/toio-py/json" result = requests.get(query).json() # search latest version releases = result["releases"] @@ -73,29 +73,29 @@ def get_latest_toio_py(min="1.1.0a1", max="1.2.0"): ) EXAMPLES = ( - "https://toio.github.io/internal-toio.py/examples/async_gather.py", - "https://toio.github.io/internal-toio.py/examples/async_gather_multi.py", - "https://toio.github.io/internal-toio.py/examples/async_task_group.py", - "https://toio.github.io/internal-toio.py/examples/detect_mat.py", - "https://toio.github.io/internal-toio.py/examples/motor_control.py", - "https://toio.github.io/internal-toio.py/examples/multi_cubes_with_attribute.py", - "https://toio.github.io/internal-toio.py/examples/multi_cubes_with_named.py", - "https://toio.github.io/internal-toio.py/examples/read_position.py", - "https://toio.github.io/internal-toio.py/examples/scan_and_connect.py", - "https://toio.github.io/internal-toio.py/examples/tutorial_pursuer.py", + "https://toio.github.io/toio.py/async_gather.py", + "https://toio.github.io/toio.py/async_gather_multi.py", + "https://toio.github.io/toio.py/async_task_group.py", + "https://toio.github.io/toio.py/detect_mat.py", + "https://toio.github.io/toio.py/motor_control.py", + "https://toio.github.io/toio.py/multi_cubes_with_attribute.py", + "https://toio.github.io/toio.py/multi_cubes_with_named.py", + "https://toio.github.io/toio.py/read_position.py", + "https://toio.github.io/toio.py/scan_and_connect.py", + "https://toio.github.io/toio.py/tutorial_pursuer.py", ) EXAMPLES_SIMPLE = ( - "https://toio.github.io/internal-toio.py/examples/async_gather.py", - "https://toio.github.io/internal-toio.py/examples/async_gather_multi.py", - "https://toio.github.io/internal-toio.py/examples/async_task_group.py", - "https://toio.github.io/internal-toio.py/examples/detect_mat.py", - "https://toio.github.io/internal-toio.py/examples/motor_control.py", - "https://toio.github.io/internal-toio.py/examples/multi_cubes_with_attribute.py", - "https://toio.github.io/internal-toio.py/examples/multi_cubes_with_named.py", - "https://toio.github.io/internal-toio.py/examples/read_position.py", - "https://toio.github.io/internal-toio.py/examples/scan_and_connect.py", - "https://toio.github.io/internal-toio.py/examples/tutorial_pursuer.py", + "https://toio.github.io/toio.py/async_gather.py", + "https://toio.github.io/toio.py/async_gather_multi.py", + "https://toio.github.io/toio.py/async_task_group.py", + "https://toio.github.io/toio.py/detect_mat.py", + "https://toio.github.io/toio.py/motor_control.py", + "https://toio.github.io/toio.py/multi_cubes_with_attribute.py", + "https://toio.github.io/toio.py/multi_cubes_with_named.py", + "https://toio.github.io/toio.py/read_position.py", + "https://toio.github.io/toio.py/scan_and_connect.py", + "https://toio.github.io/toio.py/tutorial_pursuer.py", ) diff --git a/pyproject.toml b/pyproject.toml index 77f7c09..ec235f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "toio.py" -version = "1.1.0rc1" +version = "1.1.0" description = "Control toio™Core Cube" authors = ["Sony Interactive Entertainment"] readme = "README.md" diff --git a/pythonista3/install_toio.py.in b/pythonista3/install_toio.py.in index 6facaa3..34a49dd 100644 --- a/pythonista3/install_toio.py.in +++ b/pythonista3/install_toio.py.in @@ -35,8 +35,8 @@ def get_latest_toio_py(min="1.1.0a1", max="1.2.0"): max_ver = parse(max) latest = Version("0.0.0") found_specified_version = False - # query = "https://pypi.org/pypi/toio-py/json" - query = "https://test.pypi.org/pypi/toio-py/json" + query = "https://pypi.org/pypi/toio-py/json" + # query = "https://test.pypi.org/pypi/toio-py/json" result = requests.get(query).json() # search latest version releases = result["releases"] diff --git a/pythonista3/make_install_script.sh b/pythonista3/make_install_script.sh index ecf4d97..8a3ec9c 100755 --- a/pythonista3/make_install_script.sh +++ b/pythonista3/make_install_script.sh @@ -2,8 +2,7 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd) REPO_TOP=$(git rev-parse --show-toplevel) -# DOWNLOAD_URL="https://toio.github.io/toio.py" -DOWNLOAD_URL="https://toio.github.io/internal-toio.py/examples" +DOWNLOAD_URL="https://toio.github.io/toio.py" EXAMPLES_DIR="${REPO_TOP}/docs/examples" EXAMPLES_SIMPLE_DIR="${REPO_TOP}/docs/examples-simple"