mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 23:06:58 +08:00
solve VERSION.txt bug (#732)
* solve VERSION.txt bug * back to main version * change setup and init to follow pypi type * add read function * solve black format Co-authored-by: DefangCui <170007807@pku.edu.cn>
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# Licensed under the MIT License.
|
||||
from pathlib import Path
|
||||
|
||||
_version_path = Path(__file__).absolute().parent / "VERSION.txt" # This file is copyed from setup.py
|
||||
__version__ = _version_path.read_text(encoding="utf-8").strip()
|
||||
__version__ = "0.8.0.99"
|
||||
__version__bak = __version__ # This version is backup for QlibConfig.reset_qlib_version
|
||||
import os
|
||||
from typing import Union
|
||||
|
||||
Reference in New Issue
Block a user