| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
A conda/venv install without the cli extra was dropping a stub `dotenv` on PATH that hid a working user-level python-dotenv[cli]. Drive the CLI with python -m dotenv instead.
| Back | FazBrowse Home | New Git URL |
The [cli] extra is supposed to be what gives you the CLI, but the wheel always installed a dotenv script. That script then died with "not installed with cli option" if click wasn't in that environment.
In the setup from #683 that's the conda env's stub winning over a user-level python-dotenv[cli]. Pip installs the same wheel for both extras, so the script cannot actually be extra-gated. Dropping it from the base package and using python -m dotenv (after pip install python-dotenv[cli]) is the option that doesn't leave a fake command on PATH.
__main__.py still reports itself as dotenv so --version output stays the same.
Fixes #683