[Zope3-dev] New warning in stupid_build.py

Guido van Rossum guido@python.org
Fri, 14 Jun 2002 15:16:27 -0400


>     >> Also, why do we have both principals.zcml.in and
>     >> sample_principals.zcml?
> 
>     JF> We shouldn't. That's a bug.
> 
> Which one?  I'm guessing principals.zcml.in since you can't just copy
> it to principals.zcml and have things run.  Shall I remove it?

Don't.  They actually serve different purposes.  Read the error
message carefully:

        print """ERROR: You need to create principals.zcml

        The file principals.zcml contains your "bootstrap" user
        database. You aren't going to get very far without it.  Start
        by copying principals.zcml.in and then look at
        sample_principals.zcml for some example principal and role
        settings."""

--Guido van Rossum (home page: http://www.python.org/~guido/)