VirtualenvPipBuilder - evansde77/cirrus GitHub Wiki
VirtualenvPip Builder
The VirtualenvPip builder uses virtualenv to create a development environment during the git cirrus build command and uses pip to install packages into it.
Options
Using this builder the following build options are available:
- --system-site-packages - Use system installed site packages from the parent python
- --python - Which python binary to use
- -c, --clean - remove existing virtual environment
- -u, --upgrade - Use to update the dependencies in the package requirements
- --extra-requirements - pass extra requirements.txt files to install
Config Options
The following options can be set in the [build] section of the cirrus.conf for the package.
- virtualenv_name - Name of the virtualenv, default venv,
- requirements_file - Name of the requirements file for pip, default requirements.txt
- extra_requirements - Additional files containing requirements, such as test-requirements.txt
- python - Python interpreter to use