From 04f0311bc037aa75d1c998ffc79ee28b1ab759a6 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 18 Apr 2020 17:23:17 +0200 Subject: [PATCH] Explain up to the main in install.py --- notes.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/notes.md b/notes.md index e69de29..3c23cd3 100644 --- a/notes.md +++ b/notes.md @@ -0,0 +1,19 @@ +# `requirements.txt` +* cli-ui -> build user interface in the terminal +* colorama -> dependency of cli-ui +* unidecode -> dependency of cli-ui +* ruamel.yaml -> load and dump yaml with python +* path.py -> create path objects (alternative to os.path) + +# `bootstrap.sh` +* installs pip +* uses pip to install from requirements.txt +* installs rustup +* uses cargo to install fd-find and exa +* copies xkb-symbols: https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450 + +# `install.py` +* parses args: undefined number of programs as a list +* has a flag to overwrite (--force) +* installer is a class, --force flag is passed to constructor +* installer.install is passed the programs list