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

Héctor Velarde hector.velarde at gmail.com
Mon Sep 3 12:25:33 UTC 2012

On 02/09/12 18:00, RKBelew wrote:
> 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?

the setup.py module on your package doesn't declares a extras_require 
parameter, e.g.:

         'test': ['plone.app.testing'],

remove the [test] extra feature and try again.

Héctor Velarde

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3758 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20120903/11dc9ac7/attachment.p7s>

More information about the Setup mailing list