Skip to content

Commit 784a322

Browse files
committed
Version 1.0
1 parent 3cad151 commit 784a322

File tree

2 files changed

+41
-6
lines changed

2 files changed

+41
-6
lines changed

README.rst

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1+
==================================
12
Django Template Coverage.py Plugin
23
==================================
34

45
A `coverage.py`_ plugin to measure the coverage of Django templates.
56

7+
| |license| |versions| |status|
8+
| |kit| |downloads|
9+
610
Supported Python versions are 2.7 and 3.4. Supported Django versions are 1.4
711
through 1.8.
812

913
The plugin itself is pip installable::
1014

1115
$ pip install django_coverage_plugin
1216

13-
To run it, add this setting to your .coveragerc::
17+
To run it, add this setting to your .coveragerc file::
1418

1519
[run]
1620
plugins =
1721
django_coverage_plugin
1822

19-
Then run your tests under coverage.py. It requires the coverage.py 4.x, so
20-
it may not work with other coverage-related tools such as test-runner coverage
21-
plugins.
23+
Then run your tests under coverage.py. It requires coverage.py 4.0.
2224

2325
You will see your templates listed in your coverage report along with your
2426
Python modules.
@@ -70,3 +72,20 @@ To run the tests::
7072

7173
.. _coverage.py: http://nedbatchelder.com/code/coverage
7274
.. _dtcov: https://github.com/traff/dtcov
75+
76+
77+
.. |license| image:: https://img.shields.io/pypi/l/django_coverage_plugin.svg
78+
:target: https://pypi.python.org/pypi/django_coverage_plugin
79+
:alt: License
80+
.. |versions| image:: https://img.shields.io/pypi/pyversions/django_coverage_plugin.svg
81+
:target: https://pypi.python.org/pypi/django_coverage_plugin
82+
:alt: Python versions supported
83+
.. |status| image:: https://img.shields.io/pypi/status/django_coverage_plugin.svg
84+
:target: https://pypi.python.org/pypi/django_coverage_plugin
85+
:alt: Package stability
86+
.. |kit| image:: https://badge.fury.io/py/django_coverage_plugin.svg
87+
:target: https://pypi.python.org/pypi/django_coverage_plugin
88+
:alt: PyPI status
89+
.. |downloads| image:: https://img.shields.io/pypi/dm/django_coverage_plugin.svg
90+
:target: https://pypi.python.org/pypi/django_coverage_plugin
91+
:alt: Monthly PyPI downloads

setup.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,33 @@
22

33
from setuptools import setup
44

5+
classifiers = """\
6+
Environment :: Console
7+
Intended Audience :: Developers
8+
License :: OSI Approved :: Apache Software License
9+
Operating System :: OS Independent
10+
Programming Language :: Python :: 2.7
11+
Programming Language :: Python :: 3.4
12+
Programming Language :: Python :: Implementation :: CPython
13+
Programming Language :: Python :: Implementation :: PyPy
14+
Topic :: Software Development :: Quality Assurance
15+
Topic :: Software Development :: Testing
16+
Development Status :: 5 - Production/Stable
17+
"""
18+
519
setup(
620
name='django_coverage_plugin',
7-
version='1.0b2',
21+
version='1.0',
822
description='Django template coverage.py plugin',
923
author='Ned Batchelder',
1024
author_email='[email protected]',
1125
url='https://github.com/nedbat/django_coverage_plugin',
1226
packages=['django_coverage_plugin'],
1327
install_requires=[
1428
'Django >= 1.4',
15-
'coverage >= 4.0b2',
29+
'coverage >= 4.0',
1630
'six >= 1.4.0',
1731
],
32+
license='Apache 2.0',
33+
classifiers=classifiers.splitlines(),
1834
)

0 commit comments

Comments
 (0)