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.
