From 6dabd0b9f8dbef3b42160859ec84b96100274b3c Mon Sep 17 00:00:00 2001 From: shenshuo <191715030@qq.com> Date: Fri, 7 Jun 2024 15:58:23 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B46=E6=9C=887=E6=97=A5=20=20pypi=200?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pypi.yml | 5 +---- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 536ea20..faabc28 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -4,9 +4,6 @@ on: push: branches: - main - # schedule: - # - cron: '0 4 */1 * *' - jobs: build: name: Publish Python 🐍 distributions 📦 to PyPI @@ -34,5 +31,5 @@ jobs: uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ - password: ${{ secrets.pypi_password }} + password: ${{ secrets.PYPI_PASSWORD2 }} # repository_url: https://pypi.org/legacy/ diff --git a/setup.py b/setup.py index 0d162b9..8126c9a 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ import sys from distutils.core import setup -VERSION = '0.1.74' +VERSION = '1.0.0' if sys.version_info < (2, 7) or (3, 0) <= sys.version_info < (3, 6): print('This program requires at least Python 2.7 or 3.6 to run.') @@ -31,7 +31,7 @@ def get_install_requires(): setup( - name='opssdk', + name='codosdk', version=VERSION, description="CODO项目的Python SDK", packages=['opssdk', 'opssdk.utils', 'websdk2', 'websdk2.apis', 'websdk2.cloud', 'websdk2.utils'],