Skip to content

Commit

Permalink
[Mod] change default pypi_index used
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Mar 22, 2024
1 parent 61517bf commit f27dc47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SET python=%1
SET pypi_index=%2
IF %python%"" == "" SET python=python
IF %pypi_index%"" == "" SET pypi_index=https://pypi.douban.com/simple
IF %pypi_index%"" == "" SET pypi_index=https://pypi.vnpy.com
IF NOT %pypi_index%"" == "" SET pypi_index=--index-url %pypi_index%
@ECHO ON

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ shift 2


[[ -z $python ]] && python=python3
[[ -z $pypi_index ]] && pypi_index=https://pypi.douban.com/simple
[[ -z $pypi_index ]] && pypi_index=https://pypi.vnpy.com

$python -m pip install --upgrade pip wheel --index $pypi_index

Expand Down
2 changes: 1 addition & 1 deletion install_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pypi_index=$2
shift 2

[[ -z $python ]] && python=python3
[[ -z $pypi_index ]] && pypi_index=https://pypi.douban.com/simple
[[ -z $pypi_index ]] && pypi_index=https://pypi.vnpy.com

$python -m pip install --upgrade pip wheel --index $pypi_index

Expand Down

0 comments on commit f27dc47

Please sign in to comment.