102 Star 254 Fork 1

Gitee 极速下载 / vn-py

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/vnpy/vnpy
克隆/下载
install_osx.sh 712 Bytes
一键复制 编辑 原始数据 按行查看 历史
vn.py 提交于 2024-03-22 10:52 . [Mod] change default pypi_index used
#!/usr/bin/env bash
python=$1
pypi_index=$2
shift 2
[[ -z $python ]] && python=python3
[[ -z $pypi_index ]] && pypi_index=https://pypi.vnpy.com
$python -m pip install --upgrade pip wheel --index $pypi_index
# Get and build ta-lib
function install-ta-lib()
{
export HOMEBREW_NO_AUTO_UPDATE=true
brew install ta-lib
}
function ta-lib-exists()
{
ta-lib-config --libs > /dev/null
}
ta-lib-exists || install-ta-lib
# install ta-lib
$python -m pip install numpy==1.23.1 --index $pypi_index
$python -m pip install ta-lib==0.4.24 --index $pypi_index
# Install Python Modules
$python -m pip install -r requirements.txt --index $pypi_index
# Install VeighNa
$python -m pip install . --index $pypi_index
Python
1
https://gitee.com/mirrors/vn-py.git
git@gitee.com:mirrors/vn-py.git
mirrors
vn-py
vn-py
master

搜索帮助