1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-15 00:36:55 +08:00

fix macos package name error

This commit is contained in:
Linlang
2024-12-19 14:40:09 +08:00
parent b512074567
commit 16fc2f54c2
2 changed files with 28 additions and 28 deletions

View File

@@ -54,34 +54,34 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }} TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
run: | run: |
twine check dist/*.whl twine check dist/*.whl
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl --verbose twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl --verbose
# deploy_with_manylinux: deploy_with_manylinux:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4 uses: actions/setup-python@v4
# with: with:
# python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
# - name: Build wheel on Linux - name: Build wheel on Linux
# uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64 uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64
# with: with:
# # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129
# python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
# build-requirements: 'numpy cython' build-requirements: 'numpy cython'
# - name: Install dependencies - name: Install dependencies
# run: | run: |
# python -m pip install twine python -m pip install twine
# python -m pip list python -m pip list
# - name: Build and publish - name: Build and publish
# env: env:
# TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }} TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
# run: | run: |
# ls dist ls dist
# twine check dist/*.whl twine check dist/*.whl
# twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl --verbose twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl --verbose
# build_wheels: # build_wheels:
# runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}

View File

@@ -2,7 +2,7 @@
# Licensed under the MIT License. # Licensed under the MIT License.
from pathlib import Path from pathlib import Path
__version__ = "0.9.5.91" __version__ = "0.9.5.90"
__version__bak = __version__ # This version is backup for QlibConfig.reset_qlib_version __version__bak = __version__ # This version is backup for QlibConfig.reset_qlib_version
import os import os
from typing import Union from typing import Union