Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47812

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

From roy@panix.com (Roy Smith)
Newsgroups comp.lang.python
Subject Re: Why doesn't nose see my plugin? (FIXED)
Date 2013-06-12 12:12 -0400
Organization PANIX -- Public Access Networks Corp.
Message-ID <kpa6m9$38p$1@panix2.panix.com> (permalink)
References <roy-FDF804.20545811062013@news.panix.com>

Show all headers | View raw


In article <roy-FDF804.20545811062013@news.panix.com>,
Roy Smith  <roy@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 :-)

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 20:54 -0400
  Re: Why doesn't nose see my plugin? alex23 <wuwei23@gmail.com> - 2013-06-11 18:37 -0700
    Re: Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 21:43 -0400
      Re: Why doesn't nose see my plugin? alex23 <wuwei23@gmail.com> - 2013-06-11 18:45 -0700
        Re: Why doesn't nose see my plugin? Roy Smith <roy@panix.com> - 2013-06-11 22:18 -0400
  Re: Why doesn't nose see my plugin? (FIXED) roy@panix.com (Roy Smith) - 2013-06-12 12:12 -0400
    Re: Why doesn't nose see my plugin? (FIXED) alex23 <wuwei23@gmail.com> - 2013-06-12 23:18 -0700

csiph-web