how does the command `download-package` help?
Closed this issue · 5 comments
Guangyi-Z commented
Since all Pythons for Pyenv mirror is under dir source
, what it the point to download Pythons into $PYENV_ROOT/.../python-build/
?
huntzhan commented
Actually you have to download all the packages manually at the first time.
Guangyi-Z commented
If I am doing it right, would it make more sense to do:
pyenv-mirror download-package 2.7.13 'path_to_source'
huntzhan commented
Oh, I see.
download-package
needs information to find the URLs of related packages in order to download them. <python-build-path>
is an optional argument to specify the path containing a bunch of files that mapping package name to related URLs for downloading.
download-package
always download files to current working directory.
Guangyi-Z commented
I understand.
And I prefer to call those files as "index".
cd path_to_source
pyenv-mirror download-package 2.7.13 <python-build-path>
huntzhan commented
Yes you can.
:)