mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 07:16:54 +08:00
Reformat code with black.
This commit is contained in:
16
setup.py
16
setup.py
@@ -55,7 +55,7 @@ REQUIRED = [
|
||||
"tornado",
|
||||
"joblib>=0.17.0",
|
||||
"ruamel.yaml>=0.16.12",
|
||||
"scikit-learn>=0.22"
|
||||
"scikit-learn>=0.22",
|
||||
]
|
||||
|
||||
# Numpy include
|
||||
@@ -70,16 +70,10 @@ with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
|
||||
# Cython Extensions
|
||||
extensions = [
|
||||
Extension(
|
||||
"qlib.data._libs.rolling",
|
||||
["qlib/data/_libs/rolling.pyx"],
|
||||
language="c++",
|
||||
include_dirs=[NUMPY_INCLUDE],
|
||||
"qlib.data._libs.rolling", ["qlib/data/_libs/rolling.pyx"], language="c++", include_dirs=[NUMPY_INCLUDE],
|
||||
),
|
||||
Extension(
|
||||
"qlib.data._libs.expanding",
|
||||
["qlib/data/_libs/expanding.pyx"],
|
||||
language="c++",
|
||||
include_dirs=[NUMPY_INCLUDE],
|
||||
"qlib.data._libs.expanding", ["qlib/data/_libs/expanding.pyx"], language="c++", include_dirs=[NUMPY_INCLUDE],
|
||||
),
|
||||
]
|
||||
|
||||
@@ -98,9 +92,7 @@ setup(
|
||||
# py_modules=['qlib'],
|
||||
entry_points={
|
||||
# 'console_scripts': ['mycli=mymodule:cli'],
|
||||
"console_scripts": [
|
||||
"qrun=qlib.workflow.cli:run",
|
||||
],
|
||||
"console_scripts": ["qrun=qlib.workflow.cli:run",],
|
||||
},
|
||||
ext_modules=extensions,
|
||||
install_requires=REQUIRED,
|
||||
|
||||
Reference in New Issue
Block a user