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.
pip install paverVerified import paths — ran on the pinned version, not inferred.
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.
For new projects, consider modern alternatives like 'invoke', 'poetry', 'flit', or `setuptools` based scripting. For existing projects, be aware of potential compatibility issues with newer Python versions or libraries.
Thoroughly test existing Paver setups when migrating to newer Python 3 versions. Be prepared to refactor problematic parts or consider migrating to a more actively maintained build system.
Always explicitly define dependencies using `@needs('task_name')`. For complex graphs, trace the execution path or use a debugger to ensure tasks are invoked as intended. Avoid circular dependencies.Run `pip install paver` to install the library.
Ensure `from paver.easy import *` is present at the top of your `pavement.py` file.
Double-check the task name provided to `paver <task_name>` against the `@task` definitions in `pavement.py`. Ensure the task function is correctly decorated.