mirror of
https://gitee.com/vnpy/vnpy.git
synced 2025-12-06 11:29:14 +08:00
16 lines
460 B
Batchfile
16 lines
460 B
Batchfile
@ECHO OFF
|
|
SET python=%1
|
|
SET pypi_index=%2
|
|
IF %python%"" == "" SET python=python
|
|
IF %pypi_index%"" == "" SET pypi_index=https://pypi.vnpy.com
|
|
IF NOT %pypi_index%"" == "" SET pypi_index=--index-url %pypi_index%
|
|
@ECHO ON
|
|
|
|
:: Upgrade pip & wheel
|
|
%python% -m pip install --upgrade pip wheel %pypi_index%
|
|
|
|
::Install prebuild wheel
|
|
%python% -m pip install --extra-index-url https://pypi.vnpy.com ta_lib==0.6.4
|
|
|
|
:: Install VeighNa
|
|
%python% -m pip install . |