Hello hello. So I'm trying to do this from the docs where it is
mentioned(ie. making a command line script using setup.py) but the
created script can't find the prod.cfg file. So my question is where
should that file be so that the start-sample script can find it?
-Ian
On 12/14/06, Christopher Arndt <[EMAIL PROTECTED]> wrote:
Adam Jones schrieb:
> Christopher Arndt wrote:
>> - The setup.py snippet in the docs is missing the end quotation marks.
>
> It isn't a full quote on the setup function call anyways, hence the
> ellipses. That said I cleaned it up a bit.
There are still unmatched triple quotes:
setup(
name="sample",
version=version,
...
entry_points = """
[console_scripts]
sample-start = sample.commands:start
...
)
should be
setup(
name="sample",
version=version,
...
entry_points = """\
[console_scripts]
sample-start = sample.commands:start
""",
...
)
when I fist saw the snippet as it is now, I was a bit confused, because it was
not immediately obvious that the value of entry_points is a string, containing
some form of an INI-style config.
Chris
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---