diff --git a/setup.py b/setup.py index 676a0245..897cb346 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,14 @@ ] +def read(*paths): + """ + Build a file path from paths and return the contents. + """ + with open(os.path.join(*paths), 'r') as f: + return f.read() + + def get_packages(package): """ Return root package and all sub-packages. @@ -62,6 +70,7 @@ def get_package_data(package): url=url, license=license, description=description, + long_description=read('README.rst'), author=author, author_email=author_email, packages=get_packages(package),