Merge pull request #72 from LmeSzinc/master

[pull] master from LmeSzinc:master
This commit is contained in:
POLARme 2025-02-25 00:57:01 +08:00 committed by GitHub
commit ccfe47f17c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 17 additions and 13 deletions

View File

@ -35,9 +35,9 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: /usr/bin/python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
PypiMirror: https://mirrors.aliyun.com/pypi/simple
# Install dependencies at startup
# [In most cases] Use true
InstallDependencies: true

View File

@ -35,7 +35,7 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: /usr/bin/python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: null
# Install dependencies at startup

View File

@ -35,9 +35,9 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: ./toolkit/python.exe
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
PypiMirror: https://mirrors.aliyun.com/pypi/simple
# Install dependencies at startup
# [In most cases] Use true
InstallDependencies: true

View File

@ -35,9 +35,9 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: /usr/local/bin/python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
PypiMirror: https://mirrors.aliyun.com/pypi/simple
# Install dependencies at startup
# [In most cases] Use true
InstallDependencies: true

View File

@ -35,7 +35,7 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: /usr/local/bin/python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: null
# Install dependencies at startup

View File

@ -35,9 +35,9 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
PypiMirror: https://mirrors.aliyun.com/pypi/simple
# Install dependencies at startup
# [In most cases] Use true
InstallDependencies: true

View File

@ -35,7 +35,7 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: python
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: null
# Install dependencies at startup

View File

@ -35,7 +35,7 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: ./toolkit/python.exe
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: null
# Install dependencies at startup

View File

@ -127,6 +127,10 @@ class DeployConfig(ConfigModel):
super().__setattr__('Repository', 'https://github.com/LmeSzinc/AzurLaneAutoScript')
if self.Repository in ['cn']:
super().__setattr__('Repository', 'git://git.lyoko.io/AzurLaneAutoScript')
if self.PypiMirror in [
'https://pypi.tuna.tsinghua.edu.cn/simple'
]:
super().__setattr__('PypiMirror', 'https://mirrors.aliyun.com/pypi/simple')
def filepath(self, key):
"""

View File

@ -35,7 +35,7 @@ Deploy:
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: './toolkit/python.exe'
# URL of pypi mirror
# [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
PypiMirror: null
# Install dependencies at startup