-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
@ECHO OFF | ||
SET python=%1 | ||
SET pypi_index=%2 | ||
IF %python%"" == "" SET python=python | ||
IF %pypi_index%"" == "" SET pypi_index=https://pypi.douban.com/simple | ||
IF NOT %pypi_index%"" == "" SET pypi_index=--index-url %pypi_index% | ||
@ECHO ON | ||
|
||
:: Upgrade pip & wheel | ||
python -m pip install --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.4.24 | ||
%python% -m pip install --extra-index-url https://pypi.vnpy.com TA_Lib==0.4.24 | ||
|
||
::Install Python Modules | ||
python -m pip install -r requirements.txt | ||
%python% -m pip install -r requirements.txt %pypi_index% | ||
|
||
:: Install VeighNa | ||
python -m pip install . | ||
%python% -m pip install . |