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.2.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf61886525477459974a1b9f34bb8ff47c58c4717eb3f5f28fc243d737d73c20 |
|
MD5 | 29630114d539475b196e4e50a764c835 |
|
BLAKE2b-256 | bf41099c12b1cb076f6fffa8e33e759e8d10c381ee0539ee26cc6a423cd1e5c1 |
Close
Hashes for xontrib_avox_poetry-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b84ce8a20dd8bbdf5d50c4ebed1a7925cfce2c3c4e39f2c9f736ec6efc42036 |
|
MD5 | 433094a69c7c91af0ab35d7d41798e15 |
|
BLAKE2b-256 | ba08883be1a9455ef3c67612be487a1adea8d46c474fdcc70cd24ad03e06edb7 |