Virtualenv サポート (paver.virtual)

Paver は開発とデプロイのために virtualenv 環境を簡単に構築します。virtualenv はシステム環境と分離して Python パッケージをインストールする環境を設けます。

paver.virtual タスク

Tasks for managing virtualenv environments.

paver.virtual.bootstrap()

Creates a virtualenv bootstrap script. The script will create a bootstrap script that populates a virtualenv in the current directory. The environment will have paver, the packages of your choosing and will run the paver command of your choice.

This task looks in the virtualenv options for:

script_name
name of the generated script
packages_to_install
packages to install with easy_install. The version of paver that you are using is included automatically. This should be a list of strings.
paver_command_line
run this paver command line after installation (just the command line arguments, not the paver command itself).
dest_dir
the destination directory for the virtual environment (defaults to ‘.’)
no_site_packages
don’t give access to the global site-packages dir to the virtual environment (defaults to False)
unzip_setuptools
unzip Setuptools when installing it (defaults to False)

Table Of Contents

Previous topic

その他のタスク (paver.misctasks)

Next topic

Subversion (paver.svn) で使用する

This Page