etianen / py.sh

Install and manage a standalone Python interpreter and dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should py.sh be really thin, with the majority of installation logic in online installer?

etianen opened this issue · comments

py.sh only needs to check if the work dir exists, then pull in all the install instructions from GitHub.

If it installs miniconda and helpers without arg parsing, then the downloaded installer can be very thin too, and we can move clean into the Python helpers.

Only export needs to be work dir and root path

Don't download helpers or miniconda script. Install helpers directly from URL, and pipe miniconda script into bash

Oh, damn, the offline install requires all installation logic to be local

Py.sh

Check if work dir exists. If not, run setup.sh from GitHub

Check if miniconda dir exists. If not install miniconda and helpers

Delegate to Python

Setup.sh

Download miniconda and helpers

Or maybe just take out clean and arg parsing