Skip to content

Commit 95808f9

Browse files
committed
Some cleanup
1 parent 3a340fe commit 95808f9

File tree

5 files changed

+65
-16
lines changed

5 files changed

+65
-16
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ cache:
88

99
env:
1010
- TOXENV=py27
11+
- TOXENV=py33
1112
- TOXENV=py34
1213
#- TOXENV=py35
1314
#- TOXENV=py36

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include versioneer.py pytest_info_collector/_version.py
22
include README.md
3+
include pypi-intro.rst
34
include LICENSE.txt
45
recursive-include docs *
56
recursive-exclude docs/_build *

README.md

+21-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
1-
[![Documentation Status](https://readthedocs.org/projects/pytest_info_collector/badge/?version=latest)](http://pytest_info_collector.readthedocs.org/en/latest/?badge=latest)
2-
[![Build Status](https://travis-ci.org/aragilar/pytest_info_collector.svg?branch=master)](https://travis-ci.org/aragilar/pytest_info_collector)
3-
[![Coverage Status](https://codecov.io/github/aragilar/pytest_info_collector/coverage.svg?branch=master)](https://codecov.io/github/aragilar/pytest_info_collector?branch=master)
4-
[![Version](https://img.shields.io/pypi/v/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
5-
[![License](https://img.shields.io/pypi/l/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
6-
[![Wheel](https://img.shields.io/pypi/wheel/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
7-
[![Format](https://img.shields.io/pypi/format/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
8-
[![Supported versions](https://img.shields.io/pypi/pyversions/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
9-
[![Supported implemntations](https://img.shields.io/pypi/implementation/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
10-
[![PyPI](https://img.shields.io/pypi/status/pytest_info_collector.svg)](https://pypi.python.org/pypi/pytest_info_collector/)
1+
[![Documentation Status](https://readthedocs.org/projects/pytest-info-collector/badge/?version=latest)](http://pytest-info-collector.readthedocs.org/en/latest/?badge=latest)
2+
[![Build Status](https://travis-ci.org/aragilar/pytest-info-collector.svg?branch=master)](https://travis-ci.org/aragilar/pytest-info-collector)
3+
[![Coverage Status](https://codecov.io/github/aragilar/pytest-info-collector/coverage.svg?branch=master)](https://codecov.io/github/aragilar/pytest-info-collector?branch=master)
4+
[![Version](https://img.shields.io/pypi/v/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
5+
[![License](https://img.shields.io/pypi/l/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
6+
[![Wheel](https://img.shields.io/pypi/wheel/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
7+
[![Format](https://img.shields.io/pypi/format/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
8+
[![Supported versions](https://img.shields.io/pypi/pyversions/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
9+
[![Supported implemntations](https://img.shields.io/pypi/implementation/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
10+
[![PyPI](https://img.shields.io/pypi/status/pytest-info-collector.svg)](https://pypi.python.org/pypi/pytest-info-collector/)
1111

12+
`pytest_info_collector` is a plugin for pytest providing a fixture for collecting
13+
information from tests and displaying it, independent of the test status.
1214

13-
pytest_info_collector is
15+
A simple example of this is:
16+
```python
17+
18+
def test_single(test_info):
19+
test_info("A simple test")
20+
```
21+
which would display "A simple test" at the end of the tests. Further
22+
documentation can be found at [https://pytest-info-collector.readthedocs.io](https://pytest-info-collector.readthedocs.io).
1423

1524
Bug reports and suggestions should be filed at
16-
[https://github.com/aragilar/pytest_info_collector/issues](https://github.com/aragilar/pytest_info_collector/issues).
25+
[https://github.com/aragilar/pytest-info-collector/issues](https://github.com/aragilar/pytest-info-collector/issues).

pypi-intro.rst

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
`pytest_info_collector` is a plugin for pytest providing a fixture for collecting
2+
information from tests and displaying it, independent of the test status.
3+
4+
A simple example of this is:
5+
6+
::
7+
8+
def test_single(test_info):
9+
test_info("A simple test")
10+
11+
which would display "A simple test" at the end of the tests. Further
12+
documentation can be found at `<https://pytest-info-collector.readthedocs.io>`_.
13+
14+
Bug reports and suggestions should be filed at
15+
`<https://github.com/aragilar/pytest-info-collector/issues>`_.
16+
17+
18+
|Documentation Status| |Build Status| |Coverage Status|
19+
20+
.. |Documentation Status| image:: https://readthedocs.org/projects/pytest-info-collector/badge/?version=latest
21+
:target: http://pytest-info-collector.readthedocs.org/en/latest/?badge=latest
22+
.. |Build Status| image:: https://travis-ci.org/aragilar/pytest-info-collector.svg?branch=master
23+
:target: https://travis-ci.org/aragilar/pytest-info-collector
24+
.. |Coverage Status| image:: https://codecov.io/github/aragilar/pytest-info-collector/coverage.svg?branch=master
25+
:target: https://codecov.io/github/aragilar/pytest-info-collector?branch=master

setup.py

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,37 @@
11
from setuptools import setup
22
import versioneer
33

4+
DESCRIPTION_FILES = ["pypi-intro.rst"]
5+
6+
long_description = []
7+
import codecs
8+
for filename in DESCRIPTION_FILES:
9+
with codecs.open(filename, 'r', 'utf-8') as f:
10+
long_description.append(f.read())
11+
long_description = "\n".join(long_description)
12+
413
setup(
514
name="pytest-info-collector",
615
version=versioneer.get_version(),
716
packages = ['pytest_info_collector'],
817
install_requires = ["pytest"],
918
author = "James Tocknell",
1019
author_email = "[email protected]",
11-
description = "Solver thing",
12-
#license = "BSD",
13-
#keywords = "wheel",
14-
url = "http://pytest_info_collector.rtfd.io",
20+
description = "pytest plugin to collect information from tests",
21+
long_description = long_description,
22+
license = "3-clause BSD",
23+
keywords = "pytest testing",
24+
url = "https://pytest-info-collector.readthedocs.io",
1525
entry_points = {
1626
'pytest11': [
1727
'name_of_plugin = pytest_info_collector',
1828
]
1929
},
2030
classifiers=[
2131
'Framework :: Pytest',
32+
'Development Status :: 3 - Alpha',
33+
'Intended Audience :: Developers',
34+
'License :: OSI Approved :: BSD License',
2235
'Programming Language :: Python :: 2',
2336
'Programming Language :: Python :: 2.7',
2437
'Programming Language :: Python :: 3',

0 commit comments

Comments
 (0)