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:
Robyn Speer 2018-05-01 17:16:53 -04:00
parent 316670a234
commit 8907423147
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 wordfreq is a Python library for looking up the frequencies of words in many languages, based on many sources of data.
languages, based on many sources of data.
Author: Robyn Speer Author: Robyn Speer

View File

@ -33,19 +33,20 @@ dependencies = [
if sys.version_info < (3, 4): if sys.version_info < (3, 4):
dependencies.append('pathlib') dependencies.append('pathlib')
setup( setup(
name="wordfreq", name="wordfreq",
version='2.0.1', version='2.0.1',
maintainer='Luminoso Technologies, Inc.', maintainer='Luminoso Technologies, Inc.',
maintainer_email='info@luminoso.com', maintainer_email='info@luminoso.com',
url='http://github.com/LuminosoInsight/wordfreq/', url='http://github.com/LuminosoInsight/wordfreq/',
license = "MIT", license="MIT",
platforms = ["any"], platforms=["any"],
description = doclines[0], description=doclines[0],
classifiers = classifiers, classifiers=classifiers,
long_description = "\n".join(doclines[2:]), long_description=README_contents,
long_description_content_type='text/markdown',
packages=['wordfreq'], packages=['wordfreq'],
python_requires='>=3.3',
include_package_data=True, include_package_data=True,
install_requires=dependencies, install_requires=dependencies,