Skip to main content

A zc.buildout extension for run buildout under virtual python environment.

Project description

cykooz.buildout.venv is a zc.buildout extension that creates virtual python environment and use it to run buildout.

Usage

Add cykooz.buildout.venv to the extensions entry in your [buildout] section:

[buildout]
extensions = cykooz.buildout.venv

This enables additional [buildout] option:

venv-directory

This specifies the directory where virtual environment will be created. Defaults to parts/venv.

If this directory already has a virtual python environment and it version is equal to version of python used to run buildout, then this environment will be used to run buildout without any changes.

Full example

[buildout]
extensions = cykooz.buildout.venv
venv-directory = ${buildout:parts-directory}/myvenv

Changelog

1.2.1 (2019-01-25)

Bug Fixes

  • Fixed install_requires option of setup.py.

1.2.0 (2019-01-22)

Changes

  • Added checking of version of python in exists venv directory and recreate venv if the version is not equal to current python version.

1.1.0 (2016-08-13)

Features

  • Added support for Windows.

1.0.1 (2016-08-12)

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cykooz.buildout.venv, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size cykooz.buildout.venv-1.2.1-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size cykooz.buildout.venv-1.2.1.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page