Skip to content

Commit

Permalink
Use Readme for long_description in setup.py
Browse files Browse the repository at this point in the history
Also add "Spyder Development Team" as maintainer and update supported
Python versions.
  • Loading branch information
ccordoba12 committed May 23, 2019
1 parent 7d9a40c commit d81a173
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
# get on with it
#-----------------------------------------------------------------------------

import os
from glob import glob
import io
import os

from distutils.core import setup

Expand All @@ -49,32 +50,37 @@
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,
version = version_ns['__version__'],
scripts = glob(pjoin('scripts', '*')),
packages = packages,
package_data = package_data,
description = "Jupyter Qt console",
long_description= "Qt-based console for Jupyter with support for rich media output",
author = 'Jupyter Development Team',
author_email = 'jupyter@googlegroups.com',
url = 'http://jupyter.org',
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
keywords = ['Interactive', 'Interpreter', 'Shell'],
classifiers = [
name = name,
version = version_ns['__version__'],
scripts = glob(pjoin('scripts', '*')),
packages = packages,
package_data = package_data,
description = "Jupyter Qt console",
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",
keywords = ['Interactive', 'Interpreter', 'Shell'],
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'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',
],
)

Expand Down

0 comments on commit d81a173

Please sign in to comment.