mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-30 09:31:18 +08:00
add the publishing CI for macos
This commit is contained in:
10
.github/workflows/python-publish.yml
vendored
10
.github/workflows/python-publish.yml
vendored
@@ -8,11 +8,11 @@ on:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
deploy_windows:
|
||||
|
||||
runs-on: windows-latest
|
||||
deploy_with_bdist_wheel:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, macos-latest]
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
|
||||
steps:
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
run: |
|
||||
twine upload dist/*
|
||||
|
||||
deploy_linux:
|
||||
deploy_with_manylinux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -58,4 +58,4 @@ jobs:
|
||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: |
|
||||
twine upload dist/pyqlib-*-manylinux*.whl
|
||||
twine upload dist/pyqlib-*-manylinux*.whl
|
||||
@@ -1,5 +1,5 @@
|
||||
[](https://pypi.org/project/pyqlib/#files)
|
||||
[](https://pypi.org/project/pyqlib/#files)
|
||||
[](https://pypi.org/project/pyqlib/#files)
|
||||
[](https://pypi.org/project/pyqlib/#files)
|
||||
[](https://qlib.readthedocs.io/en/latest/?badge=latest)
|
||||
[](https://github.com/microsoft/qlib/blob/main/LICENSE)
|
||||
|
||||
3
setup.py
3
setup.py
@@ -12,7 +12,7 @@ from setuptools import find_packages, setup, Extension
|
||||
NAME = "pyqlib"
|
||||
DESCRIPTION = "A Quantitative-research Platform"
|
||||
REQUIRES_PYTHON = ">=3.5.0"
|
||||
VERSION = "0.5.0.dev7"
|
||||
VERSION = "0.5.0.dev10"
|
||||
|
||||
# Detect Cython
|
||||
try:
|
||||
@@ -109,6 +109,7 @@ setup(
|
||||
# 'License :: OSI Approved :: MIT License',
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Operating System :: MacOS",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Programming Language :: Python",
|
||||
|
||||
Reference in New Issue
Block a user