|
1 # setup.py for coverage. |
|
2 |
|
3 """\ |
|
4 Coverage: code coverage testing for Python |
|
5 |
|
6 Coverage.py is a Python module that measures code coverage during test execution. |
|
7 It uses the code analysis tools and tracing hooks provided in the Python standard |
|
8 library to determine which lines are executable, and which have been executed. |
|
9 """ |
|
10 |
|
11 classifiers = """\ |
|
12 Development Status :: 5 - Production/Stable |
|
13 Environment :: Console |
|
14 Intended Audience :: Developers |
|
15 License :: OSI Approved :: BSD License |
|
16 Operating System :: OS Independent |
|
17 Programming Language :: Python |
|
18 Topic :: Software Development :: Quality Assurance |
|
19 Topic :: Software Development :: Testing |
|
20 """ |
|
21 |
|
22 version = '2.85' |
|
23 |
|
24 from setuptools import setup, find_packages |
|
25 |
|
26 doclines = __doc__.split("\n") |
|
27 |
|
28 setup( |
|
29 name = 'coverage', |
|
30 version = version, |
|
31 py_modules = ['coverage'], |
|
32 entry_points={ |
|
33 'console_scripts': [ |
|
34 'coverage = coverage:main', |
|
35 ] |
|
36 }, |
|
37 zip_safe = True, # __file__ appears in the source, but doesn't break zippy-ness. |
|
38 |
|
39 author = 'Ned Batchelder', |
|
40 author_email = 'ned@nedbatchelder.com', |
|
41 description = doclines[0], |
|
42 long_description = "\n".join(doclines[2:]), |
|
43 keywords = 'code coverage testing', |
|
44 license = 'BSD', |
|
45 classifiers = filter(None, classifiers.split("\n")), |
|
46 url = 'http://nedbatchelder.com/code/modules/coverage.html', |
|
47 download_url = 'http://nedbatchelder.com/code/modules/coverage-%s.tar.gz' % version, |
|
48 ) |