Paver Build and Deployment Scripting

1.3.4 · abandoned · verified Fri Apr 17

Paver is a Python-based build and task management system, designed to simplify scripting for development, distribution, and deployment. Its last stable release, 1.3.4, was in 2017. The project appears to be unmaintained and is not recommended for new development.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates defining simple tasks using the '@task' decorator and managing task dependencies with '@needs'. Save the code as `pavement.py` in your project root and run `paver <task_name>` from your terminal.

from paver.easy import *

@task
def hello():
    print("Hello from Paver!")

@task
@needs('hello')
def world():
    print("World! This task depends on 'hello'.")

# To run:
# Save this as 'pavement.py'
# Then execute in terminal: 'paver hello' or 'paver world'

view raw JSON →