Thank you Ronan, you're right, sorry for this newbie error, I thought
that triple-quotes were only used for comments,

Fabrice

On 2 October 2010 15:54, Ronan Amicel <[email protected]> wrote:
> Hello Fabrice,
> Le 2 oct. 2010 à 15:13, Fabrice Estiévenart a écrit :
>
> I'm following this tutorial in order to create a command-line task in
> Pylons:
> http://wiki.pylonshq.com/display/pylonscookbook/Cron+jobs+and+command-line+utilities
>
> But I get a syntax error ( "Expected :)" ) when inserting this code
> into setup.py:
> entry_points=
>    [paste.paster_command]
>    my-command = myproject.commands.my_command:MyCommand
>
> This should be a string.
> Try adding triple-quotes around it:
>
> entry_points="""
>    [paste.paster_command]
>    my-command = myproject.commands.my_command:MyCommand
> """
>
> Regards,
> --
> Ronan Amicel
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>



-- 
Fabrice Estiévenart

http://www.fabrisss.com - guitare acoustique et banjo, ma page musicale
http://www.destinationlibre.org - développement open-source autour de
php et python, ma page informatique
http://www.guitareacoustique.com - toute l'actu de la musique
acoustique (en construction)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to