Embed presentation
Download to read offline










![Paver kwsk
@task
@cmdopts([('username=', 'u', 'Username')])
def test(options):
sh('date')
print options['username']
$ paver test -u foo
---> pavement.test
date
2009 11 16 23 37 40 JST
foo](https://image.slidesharecdn.com/unconferencepaver-091219102318-phpapp01/75/Python-Paver-11-2048.jpg)






Paver is a Python-based build tool similar to Make or Rake. It allows defining tasks with decorators like @task and accessing command line options. Tasks can run shell commands and Python code. Paver is useful for managing software project build processes and tasks like testing, deployment, and documentation generation in a configurable way.










![Paver kwsk
@task
@cmdopts([('username=', 'u', 'Username')])
def test(options):
sh('date')
print options['username']
$ paver test -u foo
---> pavement.test
date
2009 11 16 23 37 40 JST
foo](https://image.slidesharecdn.com/unconferencepaver-091219102318-phpapp01/75/Python-Paver-11-2048.jpg)




