Set up Python develop environments
- use `pyenv` to manage the various develop environments
+ install several Python binaries
+ each environment receives its own `poetry` install
- add two virtual environments:
+ "interactive" => default environment with no library,
which receives accidental `pip install`s
+ "utils" => hosts various globally available tools/apps
(e.g., `mackup`)
- add installation and update scripts
This commit is contained in:
parent
5c3a914658
commit
dcdb32585a
8 changed files with 240 additions and 2 deletions
18
README.md
18
README.md
|
|
@ -23,3 +23,21 @@ Furthermore, `zsh` is set up with [`oh-my-zsh`](https://ohmyz.sh/) and `zplug`.
|
|||
Otherwise, `~/.profile` is probably *not* sourced.
|
||||
|
||||
Don't worry: Your current dotfiles are backed up in the `~/.dotfiles.bak` folder!
|
||||
|
||||
|
||||
### Python Development Environments
|
||||
|
||||
The develop environments for Python are managed by [`pyenv`](https://github.com/pyenv/pyenv).
|
||||
|
||||
To set them up, run:
|
||||
|
||||
```bash
|
||||
install-pyenv && create-or-update-python-envs
|
||||
```
|
||||
|
||||
Several Python binaries are installed.
|
||||
Additionally, two `virtualenv`s, "interactive" and "utils", are also created:
|
||||
- "interactive" is the default environment with *no* libraries installed, and
|
||||
- "utils" hosts globally available utilities.
|
||||
|
||||
Use `pyenv local ...` to specify a particular Python binary for a project.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue