From 8907423147efe5d1063e25c78e2b3157762b58ec Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Tue, 1 May 2018 17:16:53 -0400 Subject: [PATCH] Packaging updates for the new PyPI I _almost_ got the description and long_description right for 2.0.1. I even checked it on the test server. But I didn't notice that I was handling the first line of README.md specially, and ended up setting the project description to "wordfreq is a Python library for looking up the frequencies of words in many". It'll be right in the next version. --- README.md | 3 +-- setup.py | 13 +++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5b7de47..e80e679 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -wordfreq is a Python library for looking up the frequencies of words in many -languages, based on many sources of data. +wordfreq is a Python library for looking up the frequencies of words in many languages, based on many sources of data. Author: Robyn Speer diff --git a/setup.py b/setup.py index 620a67e..0619f8e 100755 --- a/setup.py +++ b/setup.py @@ -33,19 +33,20 @@ dependencies = [ if sys.version_info < (3, 4): dependencies.append('pathlib') - setup( name="wordfreq", version='2.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='info@luminoso.com', url='http://github.com/LuminosoInsight/wordfreq/', - license = "MIT", - platforms = ["any"], - description = doclines[0], - classifiers = classifiers, - long_description = "\n".join(doclines[2:]), + license="MIT", + platforms=["any"], + description=doclines[0], + classifiers=classifiers, + long_description=README_contents, + long_description_content_type='text/markdown', packages=['wordfreq'], + python_requires='>=3.3', include_package_data=True, install_requires=dependencies,