Questions tagged [paver]

Paver is a Python-based software project scripting tool along the lines of Make or Rake.

Paver is a Python-based software project scripting tool along the lines of Make or Rake. It is not designed to handle the dependency tracking requirements of, for example, a C program. It is designed to help out with all of your other repetitive tasks (run documentation generators, moving files around, downloading things), all with the convenience of Python’s syntax and massive library of code.

(From http://paver.github.com/paver/)

11 questions
3
votes
1 answer

Using paver and nose together with an atypical directory structure

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 …
Chris B.
  • 85,731
  • 25
  • 98
  • 139
2
votes
1 answer

How to import modules in Paver?

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…
Nuthinking
  • 1,211
  • 2
  • 13
  • 32
1
vote
1 answer

Disable collectstatic and paver when javascript or css changes in Openedx

Can we disable collectstatic and paver when javascript or css changes in Openedx? Because as a developer, we frequently change the javascript or css and would like to view the outcome directly from openedx platform. Currently if any javascript or…
JW Zhu
  • 21
  • 3
1
vote
1 answer

How to install modules through paver in python?

When using paver for python build, how can I write a conditional for checking if my user has the required installed modules? If not then to be able to install it through the script. This should be written in pavement.py. For an example, I am working…
Sikender
  • 11
  • 2
1
vote
2 answers

Open Edx IOError: [Errno 20] (draggabilly.pkgd.js)

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:…
1
vote
3 answers

How do I use py2exe with paver?

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…
Chris B.
  • 85,731
  • 25
  • 98
  • 139
0
votes
1 answer

Paver Unknown task error

I am getting started with paver and I am not getting a basic command to run, I am not sure what I am missing. Docs Link to the documentation Installation pip install paver After installation I am able to execute paver in commandline. --->…
A.J.
  • 8,557
  • 11
  • 61
  • 89
0
votes
1 answer

Execute .bat file from within paver task

How can i execute a batch file in a task defined with the python module paver? Do i have to distinguish on what operating system (unix/windows) the paver task will be executed? E.g. the following task defined in pavement.py in the projects root…
thinwybk
  • 4,193
  • 2
  • 40
  • 76
0
votes
1 answer

Overriding --errors-only=yes specified in rcfile

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…
Aruna Herath
  • 6,241
  • 1
  • 40
  • 59
0
votes
2 answers

install python paver to ubuntu

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…
icn
  • 17,126
  • 39
  • 105
  • 141
0
votes
1 answer

Whats the cleanest workaround to get paver 1.0.3 working on Windows XP without the paths.py _isdir bug?

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 […
Kausikram
  • 11
  • 2