Skip to content

Commit

Permalink
Merge pull request #502 from kynan/long-description
Browse files Browse the repository at this point in the history
Show README content as package description on PyPI
  • Loading branch information
vidartf committed Nov 20, 2019
2 parents 137182a + 0dbe870 commit 6259cd0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,26 @@
)


with open(pjoin(here, 'README.md')) as f:
long_description = f.read().replace(
'docs/source/images',
'https://github.com/jupyter/nbdime/raw/{version}/docs/source/images'.format(version=version)
)


setup_args = dict(
name = name,
description = "Diff and merge of Jupyter Notebooks",
long_description=long_description,
long_description_content_type='text/markdown',
version = version,
scripts = glob(pjoin('scripts', '*')),
cmdclass = cmdclass,
packages = find_packages(here),
package_data = package_data,
author = 'Jupyter Development Team',
author_email = 'jupyter@googlegroups.com',
url = 'http://jupyter.org',
url = 'https://nbdime.readthedocs.io',
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'],
Expand Down

0 comments on commit 6259cd0

Please sign in to comment.