From 596abdb1a2613e7132f53bd356bdbf65a8217e66 Mon Sep 17 00:00:00 2001 From: zengbin93 Date: Fri, 22 Nov 2024 22:47:00 +0800 Subject: [PATCH] =?UTF-8?q?0.9.61=20=E6=96=B0=E5=A2=9E=20pyd=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-publish.yml | 7 +++++-- setup.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index beb265ecf..6b2b1e6dc 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -9,15 +9,18 @@ on: jobs: deploy: - runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/setup.py b/setup.py index a5fea7819..6f6a8ef04 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ long_description_content_type="text/markdown", license="Apache Software License", url="https://github.com/waditu/czsc", - packages=find_packages(exclude=["test", "images", "docs", "examples", "hist"]), + packages=find_packages(include=["czsc", "czsc.*"]), include_package_data=True, ext_modules=cythonize(extensions), install_requires=install_requires,