mirror
mirror
python
def mirror(pip="tuna", conda="tuna", apt="tuna")
Set Pypi/Anaconda/Apt mirror repository for installation.
Arguments:
pip
Optional[str] - alias for pypi sourceconda
Optional[str] - alias for anaconda sourceapt
Optional[str] - alias for apt sourceSee: alias from
PYPI_URL
/CONDA_URL
/APT_URL
at https://github.com/tensorchord/envdlib/blob/main/src/mirror.envd
mirror_pip
python
def mirror_pip(source="tuna")
Set Pypi mirror repository for installation.
Arguments:
source
Optional[str] - alias for pypi sourceSee: alias from
PYPI_URL
at https://github.com/tensorchord/envdlib/blob/main/src/mirror.envd
mirror_conda
python
def mirror_conda(source="tuna")
Set Anaconda mirror repository for installation.
Arguments:
source
Optional[str] - alias for anaconda sourceSee: alias from
CONDA_URL
at https://github.com/tensorchord/envdlib/blob/main/src/mirror.envd
mirror_apt
python
def mirror_apt(source="tuna", include_alpha=False)
Set Apt mirror repository for installation.
Arguments:
source
Optional[str] - alias for apt sourceinclude_alpha
Optional[bool] - whether include alpha sourcexxx-proposed
See: alias from
APT_URL
at https://github.com/tensorchord/envdlib/blob/main/src/mirror.envd