tree: 55839e767c27d721621e27f64d2d234d52b1b2ec [path history] [tgz]
  1. .gitignore
  2. README.md
  3. full_requirements.txt
  4. requirements.txt
venv/README.md

chromite virtualenv README

chromite is currently transitioning to a virtualenv setup.

There are currently two approaches to virtualenv in chromite: virtualenv_wrapper.py and full virtualenv.

virtualenv_wrapper.py uses a wrapper in scripts, similar to the original wrapper.py. It uses requirements.txt to install third party dependencies, but still relies on wrapper.py's logic for finding the Python script to run from the wrapper symlink and also relies on the logic for importing chromite. This uses requirements.txt and creates the virtualenv .venv.

Full virtualenv eschews wrapper.py entirely, installing chromite itself into the virtualenv and running scripts by their import path. This uses full_requirements.txt and creates the virtualenv .full_venv.