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
Built Distribution
File details
Details for the file cykooz.buildout.venv-1.2.1.tar.gz
.
File metadata
- Download URL: cykooz.buildout.venv-1.2.1.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/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed379bb158fedf1d969f2fde9fd2061578e2bedc117b3b55ab471b6b2f14271 |
|
MD5 | e6f0ba53976215310be7a47a40bb3363 |
|
BLAKE2b-256 | f76873502d260e13339e9ba37d89e9082790e8eb5bfc73b8cd2e5c2d49a6aef2 |
File details
Details for the file cykooz.buildout.venv-1.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cykooz.buildout.venv-1.2.1-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/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58890bdcf4be6796abeeff71890b53763a26989a33259a09dcc76a243895b97 |
|
MD5 | 93ebfb88233de28a33e5b66fa9eafdca |
|
BLAKE2b-256 | b1c1e75e31c6c081f0527a30d039be5b0578becb2a29fa3a28271486c893b601 |