Skip to content

Commit

Permalink
brew: drop pdm, rye
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Jun 27, 2024
1 parent 8f72334 commit 6465589
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions .config/brew/Brewfile##c.Me
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ brew "kubernetes-cli"
brew "kubectx"
brew "lsd"
brew "node"
brew "pdm"
brew "poetry"
brew "pre-commit"
brew "ptpython"
Expand All @@ -37,7 +36,6 @@ brew "python@3.11"
brew "python@3.8"
brew "python@3.9"
brew "ripgrep"
brew "rye"
brew "tectonic"
brew "trash"
brew "uv"
Expand Down
15 changes: 0 additions & 15 deletions .config/direnv/direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ layout_auto() {
log_status "detected poetry project"
use python
layout poetry
elif [[ -f pdm.lock ]]; then
log_status "detected pdm project"
layout pdm
elif [[ -f pyproject.toml || -f setup.py ]]; then
log_status "detected python project"
use python
Expand Down Expand Up @@ -90,18 +87,6 @@ layout_poetry() {
PATH_add "$VIRTUAL_ENV/bin"
}

layout_pdm() {
# Install, if deps are outdated
if [[ ! -d __pypackages__ || pdm.lock -nt "$(echo __pypackages__/*/lib)" ]]; then
pdm install
fi
watch_file pdm.lock

# Activate PEP 582 (faster equivalent to `pdm --pep582`)
path_add PYTHONPATH "$HOMEBREW_PREFIX"/opt/pdm/libexec/lib/python*/site-packages/pdm/pep582
PATH_add "$PWD"/__pypackages__/*/bin
}

### Pkgx ###

# Usage: parse_version <filename> <regex> [version]
Expand Down

0 comments on commit 6465589

Please sign in to comment.