How do I use py2exe with paver?

Posted by Chris B. on Stack Overflow See other posts from Stack Overflow or by Chris B.
Published on 2010-03-20T04:49:45Z Indexed on 2010/03/20 4:51 UTC
Read the original article Hit count: 497

Filed under:
|
|

I'm using paver to build my Python application, and I'd like to create an executable using py2exe. I've got the following in my pavement.py:

from paver.setuputils import setup
from distutils.core import setup
import py2exe

import paver
paver.setuputils.install_distutils_tasks()

... but when I run paver py2exe I get "Build failed: py2exe is not a Task". What am I doing wrong?

© Stack Overflow or respective owner

Related posts about python

Related posts about py2exe