[Zope3-Users] ftesting.zcml in zopeproject

roymathew at bellsouth.net roymathew at bellsouth.net
Tue Sep 25 19:18:33 EDT 2007


Couple of questions:

When I use zopeproject to create a project, the project name and the package name are the same... ie:
   $HOME/py24/MYPROJ/src/MYPROJ/...
Can I override this to get a package name that is different than the project name?

Also, when I run bin/test, I get:
  bin/test 
  Running tests at level 1
  Running zope.app.testing.functional.Functional tests:
    Set up zope.app.testing.functional.Functional Traceback (most recent call last):
    ...
    File "$HOME/py24/eggs/tmp1w5hah/zope.configuration-3.4.0b1-py2.4.egg/zope/configuration/xmlconfig.py", line 539, in include
    File "$HOME/py24/eggs/tmp1w5hah/zope.configuration-3.4.0b1-py2.4.egg/zope/configuration/xmlconfig.py", line 427, in openInOrPlain
  IOError: [Errno 2] No such file or directory: '$HOME/py24/MYPROJ/parts/test/ftesting.zcml'

However, I find that there is such an ftesting.zcml file - just not in the "right" place.
Symlinking/copying it solves the problem:

 ln -s $HOME/py24/MYPROJ/src/MYPROJ/ftesting.zcml $HOME/py24/MYPROJ/parts/test/ftesting.zcml

What gives?

Thanks for your responses...


More information about the Zope3-users mailing list