Skip to main content

A Python application template for virtualenvwrapper.

Project description

virtualenvwrapper.basic is a template for virtualenvwrapper to create the base skeleton of a python application when creating a new project directory.

Installation

$ pip install virtualenvwrapper.basic

Usage

$ mkproject -t basic new_project

The previous command will create a directory and will populate it with various files, namely ANNOUNCE, AUTHORS, CHANGES, LICENSE, MANIFEST.in, README, requirements.txt and setup.py.

The content of each file is matched to the name of your project and your git configuration.

You can set up another reference skeleton directory by specifying the path to it in the environment variable VIRTUALENVWRAPPER_BASIC. The content of this directory will be used as the template of the new project.

$ VIRTUALENVWRAPPER_BASIC="/my/own/template" mkproject -t basic new_project

Template variables

virtualenvwrapper.basic supports template variables to be remplaced at the creation time of a new project. The variables can be used in the content and the name of a file.

The following variables are available:

Variable

Description

$PROJECT_NAME

Replaced by the project name used with virtualenvwrapper.

$AUTHOR_EMAIL

Replaced by the email configured in git as user.email or AUTHOR_EMAIL environment variable if set.

$AUTHOR_NAME

Replaced by the name configured in git as user.name or AUTHOR_NAME environment variable if set.

$YEAR

Replaced by the current year.

$MONTH

Replaced by the current month.

$DAY

Replaced by the current day.

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

virtualenvwrapper.basic-0.2.2.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file virtualenvwrapper.basic-0.2.2.tar.gz.

File metadata

File hashes

Hashes for virtualenvwrapper.basic-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f4b1ab8dff6bfa89b51c17775c176b4e936586a9f04a6c440fe3346bcdb888cb
MD5 45f3ef80dc0bc069338e30cc966d4820
BLAKE2b-256 055ee2487a6c4dc0245d3de5cfe20c78b04b82910bda070c64e874cc4890c0a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page