Why doesn't nose see my plugin? (FIXED)

Roy Smith roy at panix.com
Wed Jun 12 12:12:57 EDT 2013


In article <roy-FDF804.20545811062013 at news.panix.com>,
Roy Smith  <roy at panix.com> wrote:

>setup(
>    name = "Mongo Reporter",
>    version = "0.0",
>    entry_points = {
>        'nose.plugins.1.10': ['mongoreporter = mongo_reporter.MongoReporter'],
>        },
>    )

The problem turned out to be the syntax of the entry_point
declaration.  It should have been "mongo_reporter:MongoReporter"
(colon, not dot, delimiting the module from the class).

Still strugging to get my head fully around setuptools :-)



More information about the Python-list mailing list