diff --git a/setup.py b/setup.py index 11aac04..7c960cf 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,11 @@ import os from setuptools import find_packages, setup -with open("README.md", "r", encoding="utf-8") as fh: - LONG = fh.read() + +# read the contents of your README file +this_directory = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: + LONG = f.read() conf = [] templates = []