[Setup] "test = PKG.policy [test]" in packages.cfg generating UnknownExtra exception?

RKBelew rik at cogsci.ucsd.edu
Sun Sep 2 21:00:09 UTC 2012

i have a line in packages.cfg saying:

  tests = PKG.policy [test]

on buildout, this pkg_resources.require() is throwing
an UnknownExtra exception, "PKG.policy has no such extra feature 'test'"
any ideas as to why?

i follow the trace up to Requirement.resolve(), and find the set of
active requirements:

> for r in requirements: print r
>    zope.interface
>    zope.exceptions
>    setuptools
>    plone.app.testing
>    plone.app.registry
>    archetypes.schemaextender
>    plone.namedfile[blobs]
>    plone.app.relationfield
>    plone.app.referenceablebehavior
>    plone.app.dexterity[grok]
>    Products.CMFPlone
>    setuptools

but can't really figure out how to run this down further.  thanks
for any pointers.


More information about the Setup mailing list