diff options
| -rw-r--r-- | .envrc | 4 | ||||
| -rw-r--r-- | .python-version | 1 | ||||
| -rw-r--r-- | README.md | 8 |
3 files changed, 12 insertions, 1 deletions
@@ -1 +1,5 @@ +if has pyenv; then + pyenv install --skip-existing +fi + layout python3 diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..a5c4c76 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.9.0 @@ -39,4 +39,10 @@ Some familiarity with Python is assumed, here: ## Development -I use [`direnv`] to manage development. The configuration in `.envrc` will automatically create a virtual Python environment using your current Python version, and load it, once the configuration is allowed. See the `direnv` documentation for details. +I use [pyenv] and [`direnv`] to manage development. The configuration in +`.envrc` will automatically create a virtual Python environment using Pyenv (if +possible) or your current Python version (otherwise), and load it, once the +configuration is allowed. See the `direnv` documentation and the included +`.envrc` script for details. + +[pyenv]: https://github.com/pyenv/pyenv |
