From d1de43ff28aefc2fdba9da2b3ec93c35c7519f1b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 28 Jan 2023 22:22:12 +0000 Subject: [PATCH] Add pypoetry installer to Makefile Disable software.sh and add package list --- Makefile | 5 ++++- packages.txt | 10 ++++++++++ software.sh | 3 +++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 packages.txt diff --git a/Makefile b/Makefile index 9e1915e1..eb2556f6 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ all: config zsh nvim force: clean all clean: - echo "TODO" + curl -sSL https://install.python-poetry.org | python3 - --uninstall config: $(CONFIG_TARGETS) $(SYSTEMD_TARGETS) @@ -46,6 +46,9 @@ $(CONFIG_TARGETS) $(SYSTEMD_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS): $(BIN_TARGETS): $(LOCAL_BIN)/%: bin/% command -v $? 2> /dev/null || ln -s $(PWD)$? $@ +$(LOCAL_BIN)/poetry: $(LOCAL_BIN) + command -v poetry > /dev/null || curl -sSL https://install.python-poetry.org | python3 - + $(HOME)/.ssh/config: $(HOME)/.ssh cp -n templates/ssh-config $@ diff --git a/packages.txt b/packages.txt new file mode 100644 index 00000000..79952365 --- /dev/null +++ b/packages.txt @@ -0,0 +1,10 @@ +kitty +neovim +fzf +pyenv +pyright +pipx +black +isort +pre-commit +ranger diff --git a/software.sh b/software.sh index 6729b7f2..896767c0 100755 --- a/software.sh +++ b/software.sh @@ -1,6 +1,9 @@ #! /usr/bin/env bash # Install various programs +echo "Not for use" +exit 1 + mkdir -p "$HOME/.local/bin" # python