Use Readme for long_description in setup.py
Also add "Spyder Development Team" as maintainer and update supported
Python versions.
@@ -27,8 +27,9 @@ PY3 = (sys.version_info[0] >= 3)
# get on with it
#-----------------------------------------------------------------------------
-import os
from glob import glob
+import io
+import os
from distutils.core import setup
@@ -49,6 +50,9 @@ version_ns = {}
with open(pjoin(here, name, '_version.py')) as f:
exec(f.read(), {}, version_ns)
+with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
+ long_description = f.read()
+
setup_args = dict(
name = name,
@@ -57,9 +61,11 @@ setup_args = dict(
packages = packages,
package_data = package_data,
description = "Jupyter Qt console",
- long_description= "Qt-based console for Jupyter with support for rich media output",
+ long_description = long_description,
+ long_description_content_type = 'text/markdown',
author = 'Jupyter Development Team',
author_email = 'jupyter@googlegroups.com',
+ maintainer = 'Spyder Development Team',
url = 'http://jupyter.org',
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
@@ -72,9 +78,9 @@ setup_args = dict(
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
],
)
