From 51104ac6f705bf5b6260449c6b84eacc7bb6de6a Mon Sep 17 00:00:00 2001 From: TadaoYamaoka Date: Sun, 7 May 2023 17:46:28 +0900 Subject: [PATCH] =?UTF-8?q?v0.5.2=20-=20PYPI=E3=81=ABPython3.11=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C=E3=81=AEWindows=E3=83=93=E3=83=AB=E3=83=89=E6=B8=88?= =?UTF-8?q?=E3=81=BF=E3=83=A2=E3=82=B8=E3=83=A5=E3=83=BC=E3=83=AB=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2827eff..f20bf37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ jobs: runs-on: windows-2019 strategy: matrix: - python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ] + python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 ] steps: - name: Check out repository code uses: actions/checkout@v3 @@ -19,7 +19,7 @@ jobs: python -m pip install --upgrade pip pip install setuptools wheel twine Cython - name: Build and publish 3_6-3_9 - if: ${{ matrix.python-version != '3.10' }} + if: ${{ matrix.python-version < 3.10 }} env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} @@ -28,7 +28,7 @@ jobs: python setup.py bdist_wheel twine upload dist/* - name: Build and publish 3_10 - if: ${{ matrix.python-version == '3.10' }} + if: ${{ matrix.python-version >= 3.10 }} env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} diff --git a/setup.py b/setup.py index 55bac18..4844e43 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def finalize_options(self): setup( name='cshogi', - version='0.5.1', + version='0.5.2', packages=['cshogi', 'cshogi.usi', 'cshogi.gym_shogi', 'cshogi.gym_shogi.envs', 'cshogi.dlshogi', 'cshogi.web', 'cshogi.web.templates', 'cshogi.web.static'], package_data={'cshogi.web.templates': ['*'], 'cshogi.web.static': ['*']}, ext_modules=ext_modules,