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.
This commit is contained in:
Rob Speer 2018-05-01 17:16:53 -04:00
parent 968bc3a85a
commit aa91e1f291
2 changed files with 8 additions and 8 deletions

View File

@ -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: Rob Speer

View File

@ -33,7 +33,6 @@ dependencies = [
if sys.version_info < (3, 4):
dependencies.append('pathlib')
setup(
name="wordfreq",
version='2.0.1',
@ -44,8 +43,10 @@ setup(
platforms=["any"],
description=doclines[0],
classifiers=classifiers,
long_description = "\n".join(doclines[2:]),
long_description=README_contents,
long_description_content_type='text/markdown',
packages=['wordfreq'],
python_requires='>=3.3',
include_package_data=True,
install_requires=dependencies,