Project Management

A project directory is associated with a virtualenv, butusually contains the source code under active development rather thanthe installed components needed to support the development. Forexample, the project directory may contain the source code checked outfrom a version control system, temporary artifacts created by testing,experimental files not committed to version control, etc.

A project directory is created and bound to a virtualenv whenmkproject is run instead ofmkvirtualenv. To bind an existing project directory toa virtualenv, use setvirtualenvproject.

Using Templates

A new project directory can be created empty, or populated using oneor more template plugins. Templates should be specified asarguments to mkproject. Multiple values can be providedto apply more than one template. For example, to check out a Mercurialrepository from a project on bitbucket and create a new Djangosite, combine the bitbucket anddjango templates.

  1. $ mkproject -t bitbucket -t django my_site

See also