paver
Python-based project scripting.
Paver: Easy Scripting for Software Projects — Paver v1.1.0 documentation
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?
Source: (StackOverflow)
I am trying to install paver to ubuntu (12.04) with this command
sudo apt-get install python-paver
I got this error message
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-paver
How do I install paver in ubuntu then?
Source: (StackOverflow)
I use paver to run pylint as a task. In my rcfile(pylintrc) I have configured pylint to report only errors by setting errors-only=yes
.
But I like to run paver pylint
task with a verbose option to get it to report non-errors as well. How can I run pylint overriding the errors-only=yes
setting?
Running with --errors-only=no
gives an exception indicating that the --errors-only cannot be given a value. --enable=all
also does not work.
Source: (StackOverflow)
Until now I have been developing on a Windows 7 system. Recently i had to reset my entire dev enviromemt on a Windows XP system.
My paver builds stopped working, i traced the reason for the failure to this bug. filled on paths.py [ https://github.com/dottedmag/path.py/issues/16 ].
Since paver is using a custom edited version of this file, the solution does not seem to be a simple 'update the paths.py module'. It also looks like there isnt a build of paver with the patch merged in.
Has someone else encountered this problem, whats the workaround that you came up with?
Source: (StackOverflow)
I installed OpenEdx with Vagrant,
When I try to launch paver devstack studio
or paver devstack lms
with --fast
or not, I got one error:
IOError: [Errno 20] Not a directory: '/edx/app/edxapp/edx-platform/common/lib/xm
odule/xmodule/js/common_static/js/vendor/draggabilly.pkgd.js'
I try a lot of tricks I could see on StackOverflow, but nothing work.
(I tried the "dealing-with-line-endings-and-symlinks-under-windows" trick)
This is my cygwin logs when I try : http://pastebin.com/ZcJqZU06
Thanks
Source: (StackOverflow)
I'm trying to write a task for Paver
that will run nosetests
on my files.
My directory structure looks like this:
project/
file1.py
file2.py
file3.py
build/
pavement.py
subproject/
file4.py
test/
file5.py
file6.py
Doctests (using the --with_doctest
option) should be run on all the *.py files, while only the files under project/test
(in this example, file5.py
and file6.py
) should be searched for test routines.
I can't seem to figure out how to do this--I can write a custom plugin for nose
which includes the correct files, but I can't seem to get paver
to build and install it before calling the nosetests
task. I also can't find a way to get paver
to pass a list of files to test to nosetests
on the command line.
What's the best way of getting this to work?
Source: (StackOverflow)
I am using Paver for the first time and I can't import in my pavement.py a module I created in the same directory. The module was working when imported in a standalone script in the same directory. I guess paver is running from somewhere else, not the same directory.
Any suggestion?
Source: (StackOverflow)