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.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.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

cykooz.buildout.venv-1.2.0-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cykooz.buildout.venv-1.2.0.tar.gz.

File metadata

  • Download URL: cykooz.buildout.venv-1.2.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for cykooz.buildout.venv-1.2.0.tar.gz
Algorithm Hash digest
SHA256 2285c9eb3b92fe82a35382b5e63e57527aac816219c235556281d2f92d5ebe9c
MD5 98490807e06b862aff6f81816a9f1e2d
BLAKE2b-256 fe0ef27971734c1102ce27ae7ec622c6d786fb08a3d0a22874f9a6d4b70dfcf8

See more details on using hashes here.

File details

Details for the file cykooz.buildout.venv-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: cykooz.buildout.venv-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for cykooz.buildout.venv-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b3480b9ee557f2ff1d9b0433f0c901e8b0b34056833d870e1ad43d20340c19bf
MD5 b6bece0af2e430ef8d789e882879c714
BLAKE2b-256 daa726b3b196b60082439c21d15839ecb61b53e39671fe29dad8fc962d1841f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page