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.

Source Distribution

cykooz.buildout.venv-1.2.1.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

cykooz.buildout.venv-1.2.1-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page