summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_profile3
-rw-r--r--.pyenv/version1
-rw-r--r--Brewfile3
-rw-r--r--README.md7
4 files changed, 11 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 7951242..31aab5c 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -63,7 +63,8 @@ fi
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
- eval "$(pyenv virtualenv-init -)"
+ export PIPENV_VENV_IN_PROJECT=1
+ export PATH="$HOME/.local/bin:$PATH"
fi
# ==== Rust config
diff --git a/.pyenv/version b/.pyenv/version
new file mode 100644
index 0000000..11aaa06
--- /dev/null
+++ b/.pyenv/version
@@ -0,0 +1 @@
+3.9.5
diff --git a/Brewfile b/Brewfile
index fcf87f7..1d85067 100644
--- a/Brewfile
+++ b/Brewfile
@@ -12,6 +12,7 @@ brew "pass-otp"
brew "pinentry-mac"
brew "ruby-build"
brew "rbenv"
+brew "pyenv"
brew "vim"
brew "thefuck"
brew "the_silver_searcher"
@@ -25,8 +26,6 @@ brew "tree"
# brew "nvm"
# brew "yarn"
# brew "postgresql"
-# brew "pyenv"
-# brew "pyenv-virtualenv"
# brew "redis"
# brew "awscli"
# brew "ansible"
diff --git a/README.md b/README.md
index 7b7fb2c..c458f77 100644
--- a/README.md
+++ b/README.md
@@ -147,6 +147,13 @@ nvm install
nvm alias default
```
+- Setup python
+```bash
+mkdir -p ~/.pyenv
+pyenv install $(cat ~/.rc/.pyenv/version)
+ln -sf ~/.rc/.pyenv/version ~/.pyenv/version
+```
+
## Tools
- Git Crypt