1 Star 0 Fork 24

ld/vnpy_ctabacktester

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 511 Bytes
一键复制 编辑 原始数据 按行查看 历史
import sys
import subprocess
from pathlib import Path
from setuptools import setup
# Generate i18n mo files
python_path: Path = Path(sys.executable)
msgfmt_path: Path = python_path.parent.joinpath("Tools", "i18n", "msgfmt.py")
generate_mo_cmd = [
str(python_path),
str(msgfmt_path),
"-o",
".\\vnpy_ctabacktester\\locale\\en\\LC_MESSAGES\\vnpy_ctabacktester.mo",
".\\vnpy_ctabacktester\\locale\\en\\LC_MESSAGES\\vnpy_ctabacktester"
]
subprocess.run(generate_mo_cmd)
# Run setup
setup()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/devafc/vnpy_ctabacktester.git
git@gitee.com:devafc/vnpy_ctabacktester.git
devafc
vnpy_ctabacktester
vnpy_ctabacktester
main

搜索帮助