Hello community,

here is the log from the commit of package python-QtPy for openSUSE:Factory 
checked in at 2019-03-20 13:20:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-QtPy (Old)
 and      /work/SRC/openSUSE:Factory/.python-QtPy.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-QtPy"

Wed Mar 20 13:20:44 2019 rev:8 rq:686447 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-QtPy/python-QtPy.changes  2019-03-19 
09:58:09.736108508 +0100
+++ /work/SRC/openSUSE:Factory/.python-QtPy.new.28833/python-QtPy.changes       
2019-03-20 13:20:47.989321869 +0100
@@ -1,0 +2,6 @@
+Tue Mar 19 14:33:21 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.7.0:
+  * Add support for QtCharts.
+
+-------------------------------------------------------------------

Old:
----
  QtPy-1.6.0.tar.gz

New:
----
  QtPy-1.7.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-QtPy.spec ++++++
--- /var/tmp/diff_new_pack.zmgtEf/_old  2019-03-20 13:20:48.793321674 +0100
+++ /var/tmp/diff_new_pack.zmgtEf/_new  2019-03-20 13:20:48.793321674 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-QtPy
-Version:        1.6.0
+Version:        1.7.0
 Release:        0
 Summary:        Abstraction layer on top of Qt bindings
 License:        MIT

++++++ QtPy-1.6.0.tar.gz -> QtPy-1.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/CHANGELOG.md new/QtPy-1.7.0/CHANGELOG.md
--- old/QtPy-1.6.0/CHANGELOG.md 2019-01-12 01:40:31.000000000 +0100
+++ new/QtPy-1.7.0/CHANGELOG.md 2019-03-16 11:43:01.000000000 +0100
@@ -1,5 +1,24 @@
 # History of changes
 
+## Version 1.7.0 (2019-03-16)
+
+### New features
+
+* Add support for QtCharts.
+
+### Pull Requests Merged
+
+* [PR 186](https://github.com/spyder-ide/qtpy/pull/186) - PR: Generate PyPI 
long description from README.md
+* [PR 183](https://github.com/spyder-ide/qtpy/pull/183) - PR: Add QtCharts 
module support
+* [PR 182](https://github.com/spyder-ide/qtpy/pull/182) - PR: Prevent warnings 
for equivalent APIs
+* [PR 176](https://github.com/spyder-ide/qtpy/pull/176) - PR: Don't warn about 
bindings change if user did not specify a binding
+
+In this release 4 pull requests were closed.
+
+
+----
+
+
 ## Version 1.6 (2019-01-12)
 
 ### New features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/PKG-INFO new/QtPy-1.7.0/PKG-INFO
--- old/QtPy-1.6.0/PKG-INFO     2019-01-12 01:41:39.000000000 +0100
+++ new/QtPy-1.7.0/PKG-INFO     2019-03-16 11:45:49.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: QtPy
-Version: 1.6.0
+Version: 1.7.0
 Summary: Provides an abstraction layer on top of the various Qt bindings 
(PyQt5, PyQt4 and PySide) and additional custom QWidgets.
 Home-page: https://github.com/spyder-ide/qtpy
 Author: Colin Duquesnoy, The Spyder Development Team
@@ -8,45 +8,89 @@
 Maintainer: Gonzalo Peña-Castellanos
 Maintainer-email: [email protected]
 License: MIT
-Description: 
-        .. image:: https://img.shields.io/pypi/v/QtPy.svg
-           :target: https://pypi.python.org/pypi/QtPy/
-           :alt: Latest PyPI version
+Description: # QtPy: Abstraction layer for PyQt5/PyQt4/PySide2/PySide
         
-        .. image:: https://img.shields.io/pypi/dm/QtPy.svg
-           :target: https://pypi.python.org/pypi/QtPy/
-           :alt: Number of PyPI downloads
+        [![license](https://img.shields.io/pypi/l/qtpy.svg)](./LICENSE)
+        [![pypi 
version](https://img.shields.io/pypi/v/qtpy.svg)](https://pypi.org/project/QtPy/)
+        [![conda 
version](https://img.shields.io/conda/vn/conda-forge/qtpy.svg)](https://www.anaconda.com/download/)
+        [![download 
count](https://img.shields.io/conda/dn/conda-forge/qtpy.svg)](https://www.anaconda.com/download/)
+        [![OpenCollective 
Backers](https://opencollective.com/spyder/backers/badge.svg?color=blue)](#backers)
+        [![Join the chat at 
https://gitter.im/spyder-ide/public](https://badges.gitter.im/spyder-ide/spyder.svg)](https://gitter.im/spyder-ide/public)<br>
+        [![PyPI 
status](https://img.shields.io/pypi/status/qtpy.svg)](https://github.com/spyder-ide/qtpy)
+        [![Build 
status](https://ci.appveyor.com/api/projects/status/62y6i02vhn4hefg0/branch/master?svg=true)](https://ci.appveyor.com/project/spyder-ide/qtpy/branch/master)
+        
[![CircleCI](https://circleci.com/gh/spyder-ide/qtpy.svg?style=shield)](https://circleci.com/gh/spyder-ide/qtpy)
+        [![Coverage 
Status](https://coveralls.io/repos/github/spyder-ide/qtpy/badge.svg?branch=master)](https://coveralls.io/github/spyder-ide/qtpy?branch=master)
         
-        QtPy: Abtraction layer for PyQt5/PyQt4/PySide
-        =============================================
+        *Copyright © 2009–2019 The Spyder Development Team*
         
-        **QtPy** (pronounced *'cutie pie'*) is a small abstraction layer that 
lets you
-        write applications using a single api call to either PyQt or PySide.
         
-        It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
(where
-        the QtGui module has been split into QtGui and QtWidgets).
+        ## Description
         
-        Basically, you write your code as if you were using PyQt5 but import 
qt from
-        ``qtpy`` instead of ``PyQt5``.
+        **QtPy** is a small abstraction layer that lets you
+        write applications using a single API call to either PyQt or PySide.
         
-        - `Issue tracker`_
-        - `Changelog`_
+        It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 
layout
+        (where the QtGui module has been split into QtGui and QtWidgets).
         
+        Basically, you can write your code as if you were using PySide2
+        but import Qt modules from `qtpy` instead of `PySide2` (or `PyQt5`)
         
-        Attribution and acknowledgements
-        --------------------------------
         
-        This project is based on the `pyqode.qt`_ project and the 
`spyderlib.qt`_
-        module from the `spyder`_ project.
+        ### Attribution and acknowledgments
         
-        Unlike **pyqode.qt** this is not a namespace package so it is not 
*tied*
-        to a particular project, or namespace.
+        This project is based on the 
[pyqode.qt](https://github.com/pyQode/pyqode.qt)
+        project and the 
[spyderlib.qt](https://github.com/spyder-ide/spyder/tree/2.3/spyderlib/qt)
+        module from the [Spyder](https://github.com/spyder-ide/spyder) 
project, and
+        also includes contributions adapted from
+        [qt-helpers](https://github.com/glue-viz/qt-helpers), developed as 
part of the
+        [glue](http://glueviz.org) project.
         
-        .. _spyder: https://github.com/spyder-ide/spyder
-        .. _spyderlib.qt: 
https://github.com/spyder-ide/spyder/tree/master/spyderlib/qt
-        .. _pyqode.qt: https://github.com/pyQode/pyqode.qt
-        .. _Changelog: 
https://github.com/spyder-ide/qtpy/blob/master/CHANGELOG.md
-        .. _Issue tracker: https://github.com/spyder-ide/qtpy/issues
+        Unlike `pyqode.qt` this is not a namespace package, so it is not tied
+        to a particular project or namespace.
+        
+        
+        ### License
+        
+        This project is released under the MIT license.
+        
+        
+        ### Requirements
+        
+        You need PyQt5, PyQt4, PySide2 or PySide installed in your system to 
make use
+        of QtPy. If several of these packages are found, PyQt5 is used by
+        default unless you set the `QT_API` environment variable.
+        
+        `QT_API` can take the following values:
+        
+        * `pyqt5` (to use PyQt5).
+        * `pyqt` or `pyqt4` (to use PyQt4).
+        * `pyside2` (to use PySide2)
+        * `pyside` (to use PySide).
+        
+        
+        ### Installation
+        
+        ```bash
+        pip install qtpy
+        ```
+        
+        or
+        
+        ```bash
+        conda install qtpy
+        ```
+        
+        
+        ## Contributing
+        
+        Everyone is welcome to contribute!
+        
+        
+        ## Sponsors
+        
+        Become a sponsor to get your logo on our README on Github.
+        
+        
[![Sponsors](https://opencollective.com/spyder/sponsors.svg)](https://opencollective.com/spyder#support)
         
 Keywords: qt PyQt4 PyQt5 PySide
 Platform: UNKNOWN
@@ -62,3 +106,4 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/QtPy.egg-info/PKG-INFO 
new/QtPy-1.7.0/QtPy.egg-info/PKG-INFO
--- old/QtPy-1.6.0/QtPy.egg-info/PKG-INFO       2019-01-12 01:41:37.000000000 
+0100
+++ new/QtPy-1.7.0/QtPy.egg-info/PKG-INFO       2019-03-16 11:45:48.000000000 
+0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: QtPy
-Version: 1.6.0
+Version: 1.7.0
 Summary: Provides an abstraction layer on top of the various Qt bindings 
(PyQt5, PyQt4 and PySide) and additional custom QWidgets.
 Home-page: https://github.com/spyder-ide/qtpy
 Author: Colin Duquesnoy, The Spyder Development Team
@@ -8,45 +8,89 @@
 Maintainer: Gonzalo Peña-Castellanos
 Maintainer-email: [email protected]
 License: MIT
-Description: 
-        .. image:: https://img.shields.io/pypi/v/QtPy.svg
-           :target: https://pypi.python.org/pypi/QtPy/
-           :alt: Latest PyPI version
+Description: # QtPy: Abstraction layer for PyQt5/PyQt4/PySide2/PySide
         
-        .. image:: https://img.shields.io/pypi/dm/QtPy.svg
-           :target: https://pypi.python.org/pypi/QtPy/
-           :alt: Number of PyPI downloads
+        [![license](https://img.shields.io/pypi/l/qtpy.svg)](./LICENSE)
+        [![pypi 
version](https://img.shields.io/pypi/v/qtpy.svg)](https://pypi.org/project/QtPy/)
+        [![conda 
version](https://img.shields.io/conda/vn/conda-forge/qtpy.svg)](https://www.anaconda.com/download/)
+        [![download 
count](https://img.shields.io/conda/dn/conda-forge/qtpy.svg)](https://www.anaconda.com/download/)
+        [![OpenCollective 
Backers](https://opencollective.com/spyder/backers/badge.svg?color=blue)](#backers)
+        [![Join the chat at 
https://gitter.im/spyder-ide/public](https://badges.gitter.im/spyder-ide/spyder.svg)](https://gitter.im/spyder-ide/public)<br>
+        [![PyPI 
status](https://img.shields.io/pypi/status/qtpy.svg)](https://github.com/spyder-ide/qtpy)
+        [![Build 
status](https://ci.appveyor.com/api/projects/status/62y6i02vhn4hefg0/branch/master?svg=true)](https://ci.appveyor.com/project/spyder-ide/qtpy/branch/master)
+        
[![CircleCI](https://circleci.com/gh/spyder-ide/qtpy.svg?style=shield)](https://circleci.com/gh/spyder-ide/qtpy)
+        [![Coverage 
Status](https://coveralls.io/repos/github/spyder-ide/qtpy/badge.svg?branch=master)](https://coveralls.io/github/spyder-ide/qtpy?branch=master)
         
-        QtPy: Abtraction layer for PyQt5/PyQt4/PySide
-        =============================================
+        *Copyright © 2009–2019 The Spyder Development Team*
         
-        **QtPy** (pronounced *'cutie pie'*) is a small abstraction layer that 
lets you
-        write applications using a single api call to either PyQt or PySide.
         
-        It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout 
(where
-        the QtGui module has been split into QtGui and QtWidgets).
+        ## Description
         
-        Basically, you write your code as if you were using PyQt5 but import 
qt from
-        ``qtpy`` instead of ``PyQt5``.
+        **QtPy** is a small abstraction layer that lets you
+        write applications using a single API call to either PyQt or PySide.
         
-        - `Issue tracker`_
-        - `Changelog`_
+        It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 
layout
+        (where the QtGui module has been split into QtGui and QtWidgets).
         
+        Basically, you can write your code as if you were using PySide2
+        but import Qt modules from `qtpy` instead of `PySide2` (or `PyQt5`)
         
-        Attribution and acknowledgements
-        --------------------------------
         
-        This project is based on the `pyqode.qt`_ project and the 
`spyderlib.qt`_
-        module from the `spyder`_ project.
+        ### Attribution and acknowledgments
         
-        Unlike **pyqode.qt** this is not a namespace package so it is not 
*tied*
-        to a particular project, or namespace.
+        This project is based on the 
[pyqode.qt](https://github.com/pyQode/pyqode.qt)
+        project and the 
[spyderlib.qt](https://github.com/spyder-ide/spyder/tree/2.3/spyderlib/qt)
+        module from the [Spyder](https://github.com/spyder-ide/spyder) 
project, and
+        also includes contributions adapted from
+        [qt-helpers](https://github.com/glue-viz/qt-helpers), developed as 
part of the
+        [glue](http://glueviz.org) project.
         
-        .. _spyder: https://github.com/spyder-ide/spyder
-        .. _spyderlib.qt: 
https://github.com/spyder-ide/spyder/tree/master/spyderlib/qt
-        .. _pyqode.qt: https://github.com/pyQode/pyqode.qt
-        .. _Changelog: 
https://github.com/spyder-ide/qtpy/blob/master/CHANGELOG.md
-        .. _Issue tracker: https://github.com/spyder-ide/qtpy/issues
+        Unlike `pyqode.qt` this is not a namespace package, so it is not tied
+        to a particular project or namespace.
+        
+        
+        ### License
+        
+        This project is released under the MIT license.
+        
+        
+        ### Requirements
+        
+        You need PyQt5, PyQt4, PySide2 or PySide installed in your system to 
make use
+        of QtPy. If several of these packages are found, PyQt5 is used by
+        default unless you set the `QT_API` environment variable.
+        
+        `QT_API` can take the following values:
+        
+        * `pyqt5` (to use PyQt5).
+        * `pyqt` or `pyqt4` (to use PyQt4).
+        * `pyside2` (to use PySide2)
+        * `pyside` (to use PySide).
+        
+        
+        ### Installation
+        
+        ```bash
+        pip install qtpy
+        ```
+        
+        or
+        
+        ```bash
+        conda install qtpy
+        ```
+        
+        
+        ## Contributing
+        
+        Everyone is welcome to contribute!
+        
+        
+        ## Sponsors
+        
+        Become a sponsor to get your logo on our README on Github.
+        
+        
[![Sponsors](https://opencollective.com/spyder/sponsors.svg)](https://opencollective.com/spyder#support)
         
 Keywords: qt PyQt4 PyQt5 PySide
 Platform: UNKNOWN
@@ -62,3 +106,4 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/QtPy.egg-info/SOURCES.txt 
new/QtPy-1.7.0/QtPy.egg-info/SOURCES.txt
--- old/QtPy-1.6.0/QtPy.egg-info/SOURCES.txt    2019-01-12 01:41:37.000000000 
+0100
+++ new/QtPy-1.7.0/QtPy.egg-info/SOURCES.txt    2019-03-16 11:45:48.000000000 
+0100
@@ -9,6 +9,7 @@
 QtPy.egg-info/SOURCES.txt
 QtPy.egg-info/dependency_links.txt
 QtPy.egg-info/top_level.txt
+qtpy/QtCharts.py
 qtpy/QtCore.py
 qtpy/QtDesigner.py
 qtpy/QtGui.py
@@ -48,6 +49,7 @@
 qtpy/tests/test_patch_qcombobox.py
 qtpy/tests/test_patch_qheaderview.py
 qtpy/tests/test_qdesktopservice_split.py
+qtpy/tests/test_qtcharts.py
 qtpy/tests/test_qtcore.py
 qtpy/tests/test_qtdesigner.py
 qtpy/tests/test_qthelp.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/README.md new/QtPy-1.7.0/README.md
--- old/QtPy-1.6.0/README.md    2018-08-05 19:54:19.000000000 +0200
+++ new/QtPy-1.7.0/README.md    2019-03-05 12:45:03.000000000 +0100
@@ -10,9 +10,8 @@
 [![Build 
status](https://ci.appveyor.com/api/projects/status/62y6i02vhn4hefg0/branch/master?svg=true)](https://ci.appveyor.com/project/spyder-ide/qtpy/branch/master)
 
[![CircleCI](https://circleci.com/gh/spyder-ide/qtpy.svg?style=shield)](https://circleci.com/gh/spyder-ide/qtpy)
 [![Coverage 
Status](https://coveralls.io/repos/github/spyder-ide/qtpy/badge.svg?branch=master)](https://coveralls.io/github/spyder-ide/qtpy?branch=master)
-[![Scrutinizer Code 
Quality](https://scrutinizer-ci.com/g/spyder-ide/qtpy/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/spyder-ide/qtpy/?branch=master)
 
-*Copyright © 2009–2018 The Spyder Development Team*
+*Copyright © 2009–2019 The Spyder Development Team*
 
 
 ## Description
@@ -77,13 +76,6 @@
 Everyone is welcome to contribute!
 
 
-## Backers
-
-Support us with a monthly donation and help us continue our activities.
-
-[![Backers](https://opencollective.com/spyder/backers.svg)](https://opencollective.com/spyder#support)
-
-
 ## Sponsors
 
 Become a sponsor to get your logo on our README on Github.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/qtpy/QtCharts.py 
new/QtPy-1.7.0/qtpy/QtCharts.py
--- old/QtPy-1.6.0/qtpy/QtCharts.py     1970-01-01 01:00:00.000000000 +0100
+++ new/QtPy-1.7.0/qtpy/QtCharts.py     2019-03-05 11:43:50.000000000 +0100
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+# -----------------------------------------------------------------------------
+# Copyright © 2019- The Spyder Development Team
+#
+# Licensed under the terms of the MIT License
+# (see LICENSE.txt for details)
+# -----------------------------------------------------------------------------
+"""Provides QtChart classes and functions."""
+
+# Local imports
+from . import PYQT5, PYSIDE2, PythonQtError
+
+if PYQT5:
+    try:
+        from PyQt5 import QtChart as QtCharts
+    except ImportError:
+        raise PythonQtError('The QtChart module was not found. '
+                            'It needs to be installed separately for PyQt5.')
+elif PYSIDE2:
+    from PySide2.QtCharts import *
+else:
+    raise PythonQtError('No Qt bindings could be found')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/qtpy/__init__.py 
new/QtPy-1.7.0/qtpy/__init__.py
--- old/QtPy-1.6.0/qtpy/__init__.py     2018-09-18 18:44:51.000000000 +0200
+++ new/QtPy-1.7.0/qtpy/__init__.py     2019-03-05 11:44:01.000000000 +0100
@@ -100,6 +100,9 @@
 # Names of the expected PySide2 api
 PYSIDE2_API = ['pyside2']
 
+# Detecting if a binding was specified by the user
+binding_specified = QT_API in os.environ
+
 # Setting a default value for QT_API
 os.environ.setdefault(QT_API, 'pyqt5')
 
@@ -113,13 +116,13 @@
 
 
 if 'PyQt5' in sys.modules:
-    API = 'pyqt5'
+    API = initial_api if initial_api in PYQT5_API else 'pyqt5'
 elif 'PySide2' in sys.modules:
-    API = 'pyside2'
+    API = initial_api if initial_api in PYSIDE2_API else 'pyside2'
 elif 'PyQt4' in sys.modules:
-    API = 'pyqt4'
+    API = initial_api if initial_api in PYQT4_API else 'pyqt4'
 elif 'PySide' in sys.modules:
-    API = 'pyside'
+    API = initial_api if initial_api in PYSIDE_API else 'pyside'
 
 
 if API in PYQT5_API:
@@ -206,7 +209,7 @@
 
 # If a correct API name is passed to QT_API and it could not be found,
 # switches to another and informs through the warning
-if API != initial_api:
+if API != initial_api and binding_specified:
     warnings.warn('Selected binding "{}" could not be found, '
                   'using "{}"'.format(initial_api, API), RuntimeWarning)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/qtpy/_version.py 
new/QtPy-1.7.0/qtpy/_version.py
--- old/QtPy-1.6.0/qtpy/_version.py     2019-01-12 01:40:51.000000000 +0100
+++ new/QtPy-1.7.0/qtpy/_version.py     2019-03-16 11:44:31.000000000 +0100
@@ -1,2 +1,2 @@
-version_info = (1, 6, 0)
+version_info = (1, 7, 0)
 __version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/qtpy/tests/test_qtcharts.py 
new/QtPy-1.7.0/qtpy/tests/test_qtcharts.py
--- old/QtPy-1.6.0/qtpy/tests/test_qtcharts.py  1970-01-01 01:00:00.000000000 
+0100
+++ new/QtPy-1.7.0/qtpy/tests/test_qtcharts.py  2019-03-05 11:43:50.000000000 
+0100
@@ -0,0 +1,11 @@
+from __future__ import absolute_import
+
+import pytest
+from qtpy import PYSIDE2
+
+
[email protected](not PYSIDE2, reason="Only available by default in PySide2")
+def test_qtcharts():
+    """Test the qtpy.QtCharts namespace"""
+    from qtpy import QtCharts
+    assert QtCharts.QtCharts.QChart is not None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtPy-1.6.0/setup.py new/QtPy-1.7.0/setup.py
--- old/QtPy-1.6.0/setup.py     2017-01-02 21:13:51.000000000 +0100
+++ new/QtPy-1.7.0/setup.py     2019-03-05 12:45:03.000000000 +0100
@@ -6,54 +6,18 @@
 """
 
 import os
+import io
+
 from setuptools import setup, find_packages
 
-here = os.path.abspath(os.path.dirname(__file__))
+HERE = os.path.abspath(os.path.dirname(__file__))
 
 version_ns = {}
-with open(os.path.join(here, 'qtpy', '_version.py')) as f:
+with open(os.path.join(HERE, 'qtpy', '_version.py')) as f:
     exec(f.read(), {}, version_ns)
 
-LONG_DESCRIPTION = """
-.. image:: https://img.shields.io/pypi/v/QtPy.svg
-   :target: https://pypi.python.org/pypi/QtPy/
-   :alt: Latest PyPI version
-
-.. image:: https://img.shields.io/pypi/dm/QtPy.svg
-   :target: https://pypi.python.org/pypi/QtPy/
-   :alt: Number of PyPI downloads
-
-QtPy: Abtraction layer for PyQt5/PyQt4/PySide
-=============================================
-
-**QtPy** (pronounced *'cutie pie'*) is a small abstraction layer that lets you
-write applications using a single api call to either PyQt or PySide.
-
-It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where
-the QtGui module has been split into QtGui and QtWidgets).
-
-Basically, you write your code as if you were using PyQt5 but import qt from
-``qtpy`` instead of ``PyQt5``.
-
-- `Issue tracker`_
-- `Changelog`_
-
-
-Attribution and acknowledgements
---------------------------------
-
-This project is based on the `pyqode.qt`_ project and the `spyderlib.qt`_
-module from the `spyder`_ project.
-
-Unlike **pyqode.qt** this is not a namespace package so it is not *tied*
-to a particular project, or namespace.
-
-.. _spyder: https://github.com/spyder-ide/spyder
-.. _spyderlib.qt: https://github.com/spyder-ide/spyder/tree/master/spyderlib/qt
-.. _pyqode.qt: https://github.com/pyQode/pyqode.qt
-.. _Changelog: https://github.com/spyder-ide/qtpy/blob/master/CHANGELOG.md
-.. _Issue tracker: https://github.com/spyder-ide/qtpy/issues
-"""
+with io.open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
+    LONG_DESCRIPTION = f.read()
 
 setup(
     name='QtPy',
@@ -70,6 +34,7 @@
                 'bindings (PyQt5, PyQt4 and PySide) and additional custom '
                 'QWidgets.',
     long_description=LONG_DESCRIPTION,
+    long_description_content_type='text/markdown',
     classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Environment :: X11 Applications :: Qt',


Reply via email to