Skip to content

Commit

Permalink
2.2.4 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Dec 7, 2024
1 parent 2ee6195 commit 2fafc6f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

支持的操作系统:64位 Windows7及以上版本、Ubuntu、MacOSX (其中 Windows、Ubuntu 22.04及以上可以直接 pip 安装,其他建议使用源码编译安装)

1. Python环境:>= Python3.8
1. Python环境:>= Python3.8 (macosx python >= 3.10)

.. note::

Expand Down
9 changes: 9 additions & 0 deletions docs/source/release.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
版本发布说明
=======================

2.2.4 - 2024年12月8日
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. 支持 Macosx 及 mac arm 平台安装包
2. HDF5/MySQL 存储支持自定义板块,参见 StockManager add_block/remove_block 方法
3. 优化 MySQL 数据库重连
4. HikyuuTdx 在交易时段导入数据时给出弹出确认警告


2.2.3 - 2024年11月3日
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
12 changes: 3 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,15 +375,9 @@ def wheel(feedback, j, low_precision, clear):

py_version = get_python_version()
main_ver, min_ver = py_version.split('.')
if current_plat == 'win32':
cmd = 'python sub_setup.py bdist_wheel -p {}'.format(plat)
print(cmd)
os.system(cmd)
else:
cmd = 'python3 sub_setup.py bdist_wheel --python-tag cp{}{} -p {}'.format(
main_ver, min_ver, plat)
print(cmd)
os.system(cmd)
cmd = 'python sub_setup.py bdist_wheel -p {}'.format(plat)
print(cmd)
os.system(cmd)

shutil.rmtree('hikyuu/include', True)

Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set_project("hikyuu")
add_rules("mode.debug", "mode.release")

-- version
set_version("2.2.3", {build = "%Y%m%d%H%M"})
set_version("2.2.4", {build = "%Y%m%d%H%M"})

set_warnings("all")

Expand Down

0 comments on commit 2fafc6f

Please sign in to comment.