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!
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_allI get the following error:error: invalid command 'test_all'
I tried using
paver test, which causes a different error, namelyAny 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
pavecommand would do additional changes or not)? Does my packages code go inmain.pyor in another file (e.g.__main__.pyor mypackage.py) and the is called through__init__.py?Thanks for the help!