diff --git a/setup.py b/setup.py index 9016c938..bd96c9b8 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,8 @@ from setuptools import setup from setuptools.command.test import test as TestCommand +project_dir = os.path.abspath(os.path.dirname(__file__)) + if {"register", "upload"}.intersection(set(sys.argv)): print( " ***** WARNING *****\n" @@ -39,6 +41,9 @@ with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "requirements.txt")) as f: install_requires = f.readlines() +with open(os.path.join(project_dir, "README.rst")) as fh: + long_description = fh.read() + class Tox(TestCommand): """http://bit.ly/1T0dwvG""" @@ -71,6 +76,7 @@ def run_tests(self): name="scriptworker", version=VERSION, description="TaskCluster Script Worker", + long_description=long_description, author="Mozilla Release Engineering", author_email="release+python@mozilla.com", url="https://github.com/mozilla-releng/scriptworker",