Skip to content

Commit

Permalink
read readme from the elasticmock package file.
Browse files Browse the repository at this point in the history
  • Loading branch information
infinite-Joy committed Mar 5, 2019
1 parent 57f004b commit 1282bbf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1282bbf

Please sign in to comment.