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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c4530ea06fe10bc26ba43da4d1b774d118756f577bc4fc35d83e4b2fb28fd0 |
|
MD5 | a6d9ae412b585af7116f4286865b9787 |
|
BLAKE2b-256 | 749091f8dbc4e2d25c4a15a3f3296d294dacf8da2e6bbdc9b7d1df8ff7cf8fef |
Close
Hashes for xontrib_avox_poetry-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1016cf5249833e446ba8fe1c0b9286c42b03e5dbcd3b252614d01d12c7eaf14d |
|
MD5 | c4885275496e6beb3c763ad77aa35e9f |
|
BLAKE2b-256 | 44bb6c1bdf7f2dbf8fe822099366f5b52bd5ff68164bb6376bd892d49067aa29 |