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