Jim Fulton wrote:
Would it be possible to write a configuration file that loaded
it's own schemas?

Not sure what you mean...

For example, suppose I wanted to configure
zope and twisted, could I do something like:

  import zope.app.appsetup
  import zope.app.twisted
  import zope.testrunner

I think it's %import you're looking for.

  site-definition site.zcml

%import site.conf? ;-)

  interrupt-check-interval 200

    type HTTP
    address 8080

      path Data.fs


      path access.log


      path z3.log

      path STDOUT

  tests-pattern f?tests$
  tests-path src
module-pattern !^(ZConfig|BTrees|persistent|ThreadedAsync|transaction|ZEO|ZODB|twisted|zdaemon|zope[.]testing|)[.]

Okay, not sure what the troublesome bit of the above is...

Then free the main program from having
to specify a schema?

Again, not sure what you mean...



Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to