Thomas Crawley schrieb:
> Hi,
> 
> I am trying to quickstart an application.
> 
> I have tried twice and run into errors both times.
> 
> The first time I tried to use a namespace package so when asked for
> the package name I gave "testns.helloworld".
> 
> This caused a number of errors in the setup etc as the directory
> structure for packages was not correctly created. A directory named
> 'testns.helloworld' was created. The sqlite database was not created
> correctly either.
> 
> I fixed up the directories manually and the application launched.
> 
> It looks like only one level of packaging is supported.

Yes.

> 
> The second time I did not use a namespace package.
> 
> In the development.ini the comments say:
> """
> The %(here)s variable will be replaced with the parent directory of
> this file
> """
> I ran paster setup-app but the string %(here)s still appeared in the
> file.
> 
> Everything seems to work.
> 
> Is it just that the comment in the file is misleading ?

I never understood it the way you seem to. It will be replaced at 
*runtime* by the directory the config-file lives in. So you can create 
configuration-file relative logdirs and such things. This happens when 
you do

paster server development.ini


Not on setup.

Diez

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to