Skip to content

Commit 44af1ba

Browse files
committed
Tweaks to pypi registering
1 parent 54d56aa commit 44af1ba

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ pytest-qt is a `pytest`_ plugin to allow programmers write tests for `PySide`_ a
66

77
The main usage is to use the `qtbot` fixture, responsible for handling `qApp`
88
creation as needed and provides methods to simulate user interaction,
9-
like key presses and mouse clicks::
9+
like key presses and mouse clicks:
1010

1111

12+
.. code-block:: python
13+
1214
def test_hello(qtbot):
1315
widget = HelloWidget()
1416
qtbot.addWidget(widget)
@@ -27,13 +29,13 @@ This allows you to test and make sure your view layer is behaving the way you ex
2729

2830
|version| |downloads| |ci|
2931

30-
.. |version| image:: http://img.shields.io/pypi/v/pytest-qt.svg
32+
.. |version| image:: http://img.shields.io/pypi/v/pytest-qt.png
3133
:target: https://crate.io/packages/pytest-qt
3234

33-
.. |downloads| image:: http://img.shields.io/pypi/dm/pytest-qt.svg
35+
.. |downloads| image:: http://img.shields.io/pypi/dm/pytest-qt.png
3436
:target: https://crate.io/packages/pytest-qt
3537

36-
.. |ci| image:: http://img.shields.io/travis/nicoddemus/pytest-qt.svg
38+
.. |ci| image:: http://img.shields.io/travis/nicoddemus/pytest-qt.png
3739
:target: https://travis-ci.org/nicoddemus/pytest-qt
3840

3941

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
# metadata for upload to PyPI
1515
author="Bruno Oliveira",
1616
author_email="[email protected]",
17-
description=open('README.rst').read(),
17+
description='pytest support for PyQt and PySide applications',
18+
long_description=open('README.rst').read(),
1819
license="LGPL",
1920
keywords="pytest qt test unittest",
2021
url="http://github.com/nicoddemus/pytest-qt",

0 commit comments

Comments
 (0)