From 1282bbf29662dd5b3b6beb3a8fd2f0635e879ea7 Mon Sep 17 00:00:00 2001 From: Joydeep Bhattacharjee Date: Tue, 5 Mar 2019 11:26:20 +0530 Subject: [PATCH 1/2] read readme from the elasticmock package file. --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4d648c7..ea32a4a 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,11 @@ __version__ = '1.3.4' -with open("README.md", "r") as fh: - long_description = fh.read() +# read the contents of your readme file +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), 'r') as f: + long_description = f.read() setuptools.setup( name='ElasticMock', From f8cf93c84fe4523e815f152cb198e9f2c391dd9f Mon Sep 17 00:00:00 2001 From: Joydeep Bhattacharjee Date: Tue, 5 Mar 2019 11:40:11 +0530 Subject: [PATCH 2/2] bump version up to 1.3.5. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ea32a4a..b6c12db 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import setuptools -__version__ = '1.3.4' +__version__ = '1.3.5' # read the contents of your readme file from os import path