Skip to content

paver test_all fails #37

@ozak

Description

@ozak

Hi,

I am trying out your package in order to create templates for my own work. I followed the instructions, but when I execute step 11 paver test_all I get the following error:

usage: paver [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: paver --help [cmd1 cmd2 ...]
or: paver --help-commands
or: paver cmd --help

error: invalid command 'test_all'

I tried using paver test, which causes a different error, namely

Traceback (most recent call last):
File "/usr/local/bin/paver", line 11, in <module>
 sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/paver/tasks.py", line 878, in main
  _launch_pavement(args)
File "/usr/local/lib/python2.7/site-packages/paver/tasks.py", line 846, in _launch_pavement
  exec(compile(source, environment.pavement_file, 'exec'), mod.__dict__)
File "pavement.py", line 12, in <module>
  from setup import (
ImportError: cannot import name setup_dict

Any idea what is going on? I see the functions and the required data in the scripts. Does it need to run in order to use the template (I wasn't sure if the pave command would do additional changes or not)? Does my packages code go in main.py or in another file (e.g.__main__.py or my package.py) and the is called through __init__.py?

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions