auto-activate venv as one cd into a poetry project
Project description
Overview
auto-activate venv as one cd into a poetry project folder.
Installation
To install use pip:
xpip install xontrib-avox-poetry
# or: xpip install -U git+https://github.com/jnoortheen/xontrib-avox-poetry
Usage
xontrib load avox_poetry
Configuration
# If found, the env name is searched inside the $VIRTUALENV_HOME
# rather than invoking `poetry env info -p` command every time `cd` happens
# It is faster setting this variable. It will also be used by poetry.
$VIRTUALENV_HOME = "~/.virtualenvs"
# name of the venv folder. If found will activate it.
# if set to None then local folder activation will not work.
$XSH_AVOX_VENV_NAME = ".venv"
# exclude activation of certain paths by setting
$XSH_AVOX_EXCLUDED_PATHS = {"xsh-src"}
Credits
This package was created with xontrib cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for xontrib-avox-poetry-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538601a5c1ec3d82e947a0784d1e6d0f47006aa8da7b6fa61d9e0cd3f9efd3ed |
|
MD5 | 8c70beedf1d9566e3d15cdae54215326 |
|
BLAKE2b-256 | 1753b6a0619a4729b1e446708f7068b55c3f05f0d1b30c7e7517d5ba121257ad |
Close
Hashes for xontrib_avox_poetry-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc6b1bd1eb9857a7c6e8e3d1e4b1361283fa0c64b59e219176d4d1e04f0f28e |
|
MD5 | 9aa6a9b9159329855d13c1769e84352a |
|
BLAKE2b-256 | 3bc1ba919799da3ee98cb90202e42e99d3beacfd98da339436177a8493f6faaf |