Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paver test_all fails #37

Open
ozak opened this issue Apr 27, 2015 · 0 comments
Open

paver test_all fails #37

ozak opened this issue Apr 27, 2015 · 0 comments

Comments

@ozak
Copy link

ozak commented Apr 27, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant