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

2013-06-13 Thread alex23
On Jun 13, 2:12 am, r...@panix.com (Roy Smith) wrote: Still strugging to get my head fully around setuptools :-) We should start a club! :D -- http://mail.python.org/mailman/listinfo/python-list

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

2013-06-12 Thread Roy Smith
In article roy-fdf804.20545811062...@news.panix.com, Roy Smith r...@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

Why doesn't nose see my plugin?

2013-06-11 Thread Roy Smith
I'm attempting to write a nose plugin. Nosetests (version 1.3.0) is not seeing it. I'm running python 2.7.3. The plugin itself is: mongo_reporter.py: import nose.plugins import logging log = logging.getLogger('nose.plugins.mongoreporter')

Re: Why doesn't nose see my plugin?

2013-06-11 Thread alex23
On Jun 12, 10:54 am, Roy Smith r...@panix.com wrote: I'm attempting to write a nose plugin.  Nosetests (version 1.3.0) is not seeing it. setup(     entry_points = {         'nose.plugins.1.10': ['mongoreporter = mongo_reporter.MongoReporter'],         }, Hey Roy, I've never actually

Re: Why doesn't nose see my plugin?

2013-06-11 Thread Roy Smith
In article 69d4486b-d2ff-4830-b16e-f3f6ea73d...@kt20g2000pbb.googlegroups.com, alex23 wuwe...@gmail.com wrote: On Jun 12, 10:54 am, Roy Smith r...@panix.com wrote: I'm attempting to write a nose plugin.  Nosetests (version 1.3.0) is not seeing it. setup(     entry_points = {      

Re: Why doesn't nose see my plugin?

2013-06-11 Thread alex23
On Jun 12, 11:43 am, Roy Smith r...@panix.com wrote: Just to see what would happen, I tried changing it to:     entry_points = {         'nose.plugins.1.3.0': ['mongoreporter = testing.nose.mongo_reporter.MongoReporter'],         }, didn't appear to make any difference. Yeah, reading some

Re: Why doesn't nose see my plugin?

2013-06-11 Thread Roy Smith
In article 0d704515-46c9-486a-993c-ff5add3c9...@rh15g2000pbb.googlegroups.com, alex23 wuwe...@gmail.com wrote: On Jun 12, 11:43 am, Roy Smith r...@panix.com wrote: Just to see what would happen, I tried changing it to:     entry_points = {         'nose.plugins.1.3.0': ['mongoreporter