Cross-platform Python environment management.
Project description
cpenv
=====
Cross-platform Python environment management.
cpenv makes it easy to manage dependencies, environment variables, and applications through the use
of python virtualenvs and modules. Configurations can be shared between windows, linux, or mac and deployed
directly from git.
How it looks
============
>From a terminal:
::
>cpenv create my_env
Creating new environment my_env
...
Activating my_env
[my_env]> cpenv create --module my_module https://github.com/cpenv/template_module.git
Installing https://github.com/cpenv/template_module.git
...
>From python:
::
import cpenv
my_env = cpenv.create('my_env)
my_env.add_module('my_module', 'https://github.com/cpenv/template_module.git')
cpenv.activate(my_env, my_module)
>From an environment config:
::
environment:
PATH:
- '$ENVIRON/relative/path'
dependencies:
modules:
- name: template_module
repo: https://github.com/cpenv/template_module.git
branch: master
pip:
- requests
git: []
Installation
============
cpenv is available on pypi:
::
pip install cpenv
Make sure you've got `Git <https://git-scm.com>`_ installed and accessible from your command prompt/terminal and you're ready to go. Set $CPENV_HOME where you'd like environments to be created (defaults to ~/.cpenv).
Documentation
=============
To learn more visit http://cpenv.rtfd.io/.
=====
Cross-platform Python environment management.
cpenv makes it easy to manage dependencies, environment variables, and applications through the use
of python virtualenvs and modules. Configurations can be shared between windows, linux, or mac and deployed
directly from git.
How it looks
============
>From a terminal:
::
>cpenv create my_env
Creating new environment my_env
...
Activating my_env
[my_env]> cpenv create --module my_module https://github.com/cpenv/template_module.git
Installing https://github.com/cpenv/template_module.git
...
>From python:
::
import cpenv
my_env = cpenv.create('my_env)
my_env.add_module('my_module', 'https://github.com/cpenv/template_module.git')
cpenv.activate(my_env, my_module)
>From an environment config:
::
environment:
PATH:
- '$ENVIRON/relative/path'
dependencies:
modules:
- name: template_module
repo: https://github.com/cpenv/template_module.git
branch: master
pip:
- requests
git: []
Installation
============
cpenv is available on pypi:
::
pip install cpenv
Make sure you've got `Git <https://git-scm.com>`_ installed and accessible from your command prompt/terminal and you're ready to go. Set $CPENV_HOME where you'd like environments to be created (defaults to ~/.cpenv).
Documentation
=============
To learn more visit http://cpenv.rtfd.io/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cpenv-0.4.0.tar.gz
(121.5 kB
view hashes)
Built Distribution
cpenv-0.4.0-py2.py3-none-any.whl
(143.5 kB
view hashes)
Close
Hashes for cpenv-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bca022646da25c03c049adcac8cd16210ebf752e65fe2d0b518be1c3a3f9b8a |
|
MD5 | 6da0538a99930f78850678a010658f29 |
|
BLAKE2b-256 | edf3e7d117d7b65e85d73bdecc1298b1401a27a82bb30c10f0a6307d3f167bb5 |