From 372c33feb057af5f350220cf3ed142c34eba2e86 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Fri, 19 Jun 2020 16:59:14 -0700 Subject: [PATCH] 0.9.4 Readme --- lexpy/dawg.py | 3 ++- setup.py | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lexpy/dawg.py b/lexpy/dawg.py index d07261a..f8e520c 100644 --- a/lexpy/dawg.py +++ b/lexpy/dawg.py @@ -81,4 +81,5 @@ def __len__(self): :returns (int) Number of Nodes in the dawg data structure :return: """ - return 1+len(self.__minimized_nodes) # 1(for the root node) + Minimized list of nodes \ No newline at end of file + # 1(for the root node) + Minimized list of nodes + return 1+len(self.__minimized_nodes) \ No newline at end of file diff --git a/setup.py b/setup.py index ecb3cef..7d7e088 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,12 @@ from __future__ import unicode_literals from __future__ import absolute_import +from os import path + +this_directory = path.abspath(path.dirname(__file__)) + +with open(path.join(this_directory, 'README.md')) as f: + long_description = f.read() from setuptools import setup, find_packages @@ -49,7 +55,8 @@ setup( name=DISTNAME, - long_description=LONG_DESCRIPTION, + long_description=long_description, + long_description_content_type='text/markdown', author=AUTHOR, author_email=MAINTAINER_EMAIL, maintainer=MAINTAINER,