From cb9a170b566381bc55eb502ace8020dc4f944163 Mon Sep 17 00:00:00 2001 From: Thamme Gowda Date: Sat, 20 Jun 2020 13:32:16 -0700 Subject: [PATCH] fix long_description_type as markdown to pypi --- rtg/__init__.py | 2 +- setup.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rtg/__init__.py b/rtg/__init__.py index 1ad5397..05d2ec5 100644 --- a/rtg/__init__.py +++ b/rtg/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.4.0' +__version__ = '0.4.1' import os import logging diff --git a/setup.py b/setup.py index 398deda..8b920e4 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ __version__ = vpat.match(line)[1] print(f"Going to install rtg {__version__}") -assert __version__, 'Coulnt find __version__ in __init__.py' +assert __version__, 'Could not find __version__ in __init__.py' setuptools.setup( name='rtg', @@ -22,7 +22,7 @@ author_email="tg@isi.edu", description="Reader Translator Generator(RTG), a Neural Machine Translator(NMT) toolkit based on Pytorch", long_description=long_description, - long_description_content_type="text/plain", + long_description_content_type='text/markdown', url="https://isi-nlp.github.io/rtg/", packages=setuptools.find_packages(), classifiers=[ @@ -32,6 +32,7 @@ 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], + platforms=['any'], install_requires=[ 'ruamel.yaml >= 0.16.10', 'sacrebleu >= 1.4.6',