Paver 0.7: Better than distutils, better docs and more

Kevin Dangoor dangoor at gmail.com
Fri May 9 05:04:42 CEST 2008


Paver (http://www.blueskyonmars.com/projects/paver/) is a "task"  
oriented build, distribution and deployment scripting tool. It's  
similar in idea to Rake, but is geared toward Python projects and  
takes advantage of popular Python tools and libraries.

Paver can be seen as providing an easier and more cohesive way to work  
with a variety of proven tools.

With Version 0.7, Paver is now a full stand-in for the traditional  
distutils- or setuptools-based setup.py. Need to perform some extra  
work before an sdist runs? No problem:

@task
def sdist():
     ...move files around, etc....
     call_task("distutils.command.sdist")

You put that in your pavement.py file and now running "paver sdist"  
will perform your logic and then run the distutils sdist command.

Paver can even generate a setup.py so "python setup.py sdist" or  
"python setup.py install" work just as they always have. And to make  
it easier for people who don't yet have Paver, you can include a small  
zip file that enables "python setup.py install" to work off of a  
pavement.py file even without Paver.

Paver 0.7 has a bunch of new tools to help with project documentation  
(taking advantage of Georg Brandl's Sphinx and also including Ned  
Batchelder's Cog). Paver now includes much better docs, too.

Links:

Home page: http://www.blueskyonmars.com/projects/paver/
Getting Started: http://www.blueskyonmars.com/projects/paver/getting_started.html
Changelog: http://www.blueskyonmars.com/projects/paver/changelog.html
Cheeseshop: http://pypi.python.org/pypi/Paver/
Mailing list: http://groups.google.com/group/paver


--
Kevin Dangoor
Product Manager
SitePen, Inc.
Web development experts:
development, support, training

kevin at sitepen.com







More information about the Python-announce-list mailing list