Sha256: 753e24150ec336bff96547aef109e5ee84dfb011261b1cc550c6c00f3bd6902d
Contents?: true
Size: 1.78 KB
Versions: 3
Compression:
Stored size: 1.78 KB
Contents
# capistrano-pyenv a capistrano recipe to manage pythons with [pyenv](https://github.com/yyuu/pyenv). ## Installation Add this line to your application's Gemfile: gem 'capistrano-pyenv' And then execute: $ bundle Or install it yourself as: $ gem install capistrano-pyenv ## Usage This recipe will install [pyenv](https://github.com/yyuu/pyenv) during `deploy:setup` task. To setup pyenv for your application, add following in you `config/deploy.rb`. # in "config/deploy.rb" require 'capistrano-pyenv' Following options are available to manage your pyenv. * `:pyenv_branch` - the git branch to install `pyenv` from. use `master` by default. * `:pyenv_cmd` - the `pyenv` command. * `:pyenv_path` - the path where `pyenv` will be installed. use `$HOME/.pyenv` by default. * `:pyenv_plugins` - pyenv plugins to install. do nothing by default. * `:pyenv_repository` - repository URL of pyenv. * `:pyenv_python_dependencies` - depedency packages. * `:pyenv_python_version` - the python version to install. install `2.7.3` by default. * `:pyenv_use_virtualenv` - create new virtualenv from `:pyenv_virtualenv_python_version`. `false` by default. `:pyenv_python_version` will be treated as the name of the virtualenv if this is turned `true`. * `:pyenv_virtualenv_python_version` - the python version to create virtualenv. `2.7.3` by default. * `:pyenv_virtualenv_options` - command-line options for virtualenv. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Author - YAMASHITA Yuu (https://github.com/yyuu) - Geisha Tokyo Entertainment Inc. (http://www.geishatokyo.com/) ## License MIT
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-pyenv-0.0.10 | README.md |
capistrano-pyenv-0.0.9 | README.md |
capistrano-pyenv-0.0.8 | README.md |