blob: 92a42f36e678c03e7743cc218cd2bc13d164225e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
"""
An example of how to create a simple nose plugin.
"""
try:
import ez_setup
ez_setup.use_setuptools()
except ImportError:
pass
from setuptools import setup
setup(
name='Example plugin',
version='0.1',
author='Jason Pellerin',
author_email = 'jpellerin+nose@gmail.com',
description = 'Example nose plugin',
license = 'GNU LGPL',
py_modules = ['plug'],
entry_points = {
'nose.plugins': [
'example = plug:ExamplePlugin'
]
}
)
|