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.
Release files for xontrib-avox-poetry 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xontrib-avox-poetry-0.3.3.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xontrib_avox_poetry-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / xontrib-avox-poetry-0.3.3.tar.gz
| Download URL | xontrib-avox-poetry-0.3.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9c4530ea06fe10bc26ba43da4d1b774d118756f577bc4fc35d83e4b2fb28fd0
|
|
BLAKE2b-256 checksum How to use checksums |
749091f8dbc4e2d25c4a15a3f3296d294dacf8da2e6bbdc9b7d1df8ff7cf8fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.6 Darwin/21.6.0
|
Release files / xontrib_avox_poetry-0.3.3-py3-none-any.whl
| Download URL | xontrib_avox_poetry-0.3.3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1016cf5249833e446ba8fe1c0b9286c42b03e5dbcd3b252614d01d12c7eaf14d
|
|
BLAKE2b-256 checksum How to use checksums |
44bb6c1bdf7f2dbf8fe822099366f5b52bd5ff68164bb6376bd892d49067aa29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.6 Darwin/21.6.0
|