From 7659a512c29b7d33fee96b10495e4ed6804274fa Mon Sep 17 00:00:00 2001 From: himkt Date: Tue, 10 Dec 2024 12:39:10 +0900 Subject: [PATCH] maint(rye,poetry): remove --- Makefile | 17 ++--------------- poetry/bin/setup.sh | 14 -------------- poetry/config.d/config.toml | 2 -- rye/bin/clean.sh | 3 --- 4 files changed, 2 insertions(+), 34 deletions(-) delete mode 100755 poetry/bin/setup.sh delete mode 100644 poetry/config.d/config.toml delete mode 100755 rye/bin/clean.sh diff --git a/Makefile b/Makefile index c993b9b9..c7f23b84 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ NOCOLOR := $(shell tput sgr0) all docs brew \ base cli gui \ cargo git \ - nvim poetry tmux uv zsh + nvim tmux uv zsh all: clean base docs @@ -40,12 +40,6 @@ git: git_clean nvim: nvim_clean $(PWD)/nvim/bin/setup.sh -poetry: poetry_clean - $(PWD)/poetry/bin/setup.sh - -rye: rye_clean - curl -sSf https://rye-up.com/get | bash - sheldon: sheldon_clean $(PWD)/sheldon/bin/setup.sh @@ -65,7 +59,7 @@ zsh: zsh_clean clean: \ cargo_clean \ - git_clean nvim_clean poetry_clean \ + git_clean nvim_clean \ tmux_clean zsh_clean cargo_clean: @@ -80,13 +74,6 @@ nvim_clean: rm -rf $(HOME)/.vim rm -rf $(HOME)/.config/nvim -poetry_clean: - rm -rf $(HOME)/.config/pypoetry - rm -rf $(HOME)/Library/Application\ Support/pypoetry - -rye_clean: - ./rye/bin/clean.sh - sheldon_clean: rm -rf $(HOME)/.config/sheldon diff --git a/poetry/bin/setup.sh b/poetry/bin/setup.sh deleted file mode 100755 index d87c02ca..00000000 --- a/poetry/bin/setup.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -case ${OSTYPE} in - darwin*) - POETRY_HOME="$HOME/Library/Application Support/pypoetry" - ;; - linux*) - POETRY_HOME="$HOME/.config/pypoetry" - ;; -esac - -mkdir -p "$POETRY_HOME" -rm -f "$POETRY_HOME/config.toml" -ln -s "$PWD/poetry/config.d/config.toml" "$POETRY_HOME/config.toml" diff --git a/poetry/config.d/config.toml b/poetry/config.d/config.toml deleted file mode 100644 index ab1033bd..00000000 --- a/poetry/config.d/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[virtualenvs] -in-project = true diff --git a/rye/bin/clean.sh b/rye/bin/clean.sh deleted file mode 100755 index ae82c882..00000000 --- a/rye/bin/clean.sh +++ /dev/null @@ -1,3 +0,0 @@ -if command -v rye > /dev/null; then - rye self uninstall -fi