Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47812
| 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> |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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