Skip to content

Commit

Permalink
fix long_description_type as markdown to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
thammegowda committed Jun 20, 2020
1 parent 9118b90 commit cb9a170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rtg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.4.0'
__version__ = '0.4.1'

import os
import logging
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -22,7 +22,7 @@
author_email="[email protected]",
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=[
Expand All @@ -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',
Expand Down

0 comments on commit cb9a170

Please sign in to comment.