Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47812
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!panix2.panix.com!not-for-mail |
|---|---|
| From | roy@panix.com (Roy Smith) |
| Newsgroups | comp.lang.python |
| Subject | Re: Why doesn't nose see my plugin? (FIXED) |
| Date | 12 Jun 2013 12:12:57 -0400 |
| Organization | PANIX -- Public Access Networks Corp. |
| Lines | 16 |
| Message-ID | <kpa6m9$38p$1@panix2.panix.com> (permalink) |
| References | <roy-FDF804.20545811062013@news.panix.com> |
| NNTP-Posting-Host | panix2.panix.com |
| X-Trace | reader1.panix.com 1371053577 28155 166.84.1.2 (12 Jun 2013 16:12:57 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Wed, 12 Jun 2013 16:12:57 +0000 (UTC) |
| Xref | csiph.com comp.lang.python:47812 |
Show key headers only | 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 | 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