We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
The docs on readthedocs are missing the Python bindings
Our RTD page is missing the Python bindings:

http://bodhi.readthedocs.io/en/latest/python_bindings.html

Very likely this is due to our ```docs/conf.py``` file not injecting the root of our repo into sys.path.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 import __main__
2 __requires__ = __main__.__requires__ = 'WebOb>=1.4.1'
3 import pkg_resources
4 
5 # The following two imports are required to shut up an
6 # atexit error when running tests with python 2.7
7 import logging
8 import multiprocessing
9 
10 import os
11 import sys
12 
13 from setuptools import setup, find_packages
14 import setuptools.command.egg_info
15 
16 
17 here = os.path.abspath(os.path.dirname(__file__))
18 README = open(os.path.join(here, 'README.rst')).read()
19 VERSION = '2.4.0'
20 # Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers
21 CLASSIFIERS = [
22     'Development Status :: 5 - Production/Stable',
23     'Intended Audience :: Developers',
24     'Intended Audience :: System Administrators',
25     'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
26     'Operating System :: POSIX :: Linux',
27     'Programming Language :: Python :: 2.7',
28     'Topic :: System :: Software Distribution']
29 LICENSE = 'GPLv2+'
30 MAINTAINER = 'Fedora Infrastructure Team'
31 MAINTAINER_EMAIL = 'infrastructure@lists.fedoraproject.org'
32 PLATFORMS = ['Fedora', 'GNU/Linux']
33 URL = 'https://github.com/fedora-infra/bodhi'
34 
35 server_requires = [
36     # push.py uses click
37     'click',
38     'pyramid',
39     'pyramid_mako',
40     'pyramid_tm',
41     'waitress',
42     'colander',
43     'cornice<2',
44 
45     'python-openid',
46     'pyramid_fas_openid',
47     'packagedb-cli',
48 
49     'sqlalchemy',
50     'zope.sqlalchemy',
51 
52     'webhelpers',
53     'progressbar',
54 
55     'bunch',
56 
57     # for captchas
58     'cryptography',
59     'Pillow',
60 
61     # Useful tools
62     'kitchen',
63     'python-fedora',
64     'pylibravatar',
65     'pyDNS',
66     'dogpile.cache',
67     'arrow',
68     'markdown',
69 
70     # i18n, that we're not actually doing yet.
71     #'Babel',
72     #'lingua',
73 
74     # External resources
75     'python-bugzilla',
76     'simplemediawiki',
77 
78     # "python setup.py test" needs one of fedmsg's setup.py extra_requires
79     'fedmsg[consumers]',
80     # The masher needs fedmsg-atomic-composer
81     'fedmsg-atomic-composer >= 2016.3',
82 
83     'WebOb>=1.4.1',
84     ]
85 
86 if sys.version_info[:3] < (2,7,0):
87     server_requires.append('importlib')
88 
89 if sys.version_info[:3] < (2,5,0):
90     server_requires.append('pysqlite')
91 
92 
93 setuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'
94 
95 
96 setup(name='bodhi',
97       version=VERSION,
98       description='bodhi common package',
99       long_description=README,
100       classifiers=CLASSIFIERS,
101       license=LICENSE,
102       maintainer=MAINTAINER,
103       maintainer_email=MAINTAINER_EMAIL,
104       platforms=PLATFORMS,
105       url=URL,
106       keywords='fedora',
107       packages=['bodhi'],
108       include_package_data=True,
109       zip_safe=False,
110       install_requires = [],
111       tests_require = [
112           'flake8',
113           'nose',
114           'nose-cov',
115           'webtest',
116           'mock'
117       ],
118       test_suite="nose.collector",
119       )
120 
121 
122 setuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'
123 
124 
125 setup(name='bodhi-client',
126       version=VERSION,
127       description='bodhi client',
128       long_description=README,
129       classifiers=CLASSIFIERS,
130       license=LICENSE,
131       maintainer=MAINTAINER,
132       maintainer_email=MAINTAINER_EMAIL,
133       platforms=PLATFORMS,
134       url=URL,
135       keywords='fedora',
136       packages=['bodhi.client'],
137       include_package_data=False,
138       zip_safe=False,
139       install_requires = ['click', 'six'],
140       entry_points = """\
141       [console_scripts]
142       bodhi = bodhi.client:cli
143       """,
144       )
145 
146 
147 setuptools.command.egg_info.manifest_maker.template = 'SERVER_MANIFEST.in'
148 # Due to https://github.com/pypa/setuptools/issues/808, we need to include the bodhi superpackage
149 # and then remove it if we want find_packages() to find the bodhi.server package and its
150 # subpackages without including the bodhi top level package.
151 server_packages = find_packages(
152     exclude=['bodhi.client', 'bodhi.client.*', 'bodhi.tests', 'bodhi.tests.*'])
153 server_packages.remove('bodhi')
154 
155 
156 setup(name='bodhi-server',
157       version=VERSION,
158       description='bodhi server',
159       long_description=README,
160       classifiers=CLASSIFIERS + [
161         "Framework :: Pyramid",
162         'Programming Language :: JavaScript',
163         "Topic :: Internet :: WWW/HTTP",
164         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application"],
165       license=LICENSE,
166       maintainer=MAINTAINER,
167       maintainer_email=MAINTAINER_EMAIL,
168       platforms=PLATFORMS,
169       url=URL,
170       keywords='web fedora pyramid',
171       packages=server_packages,
172       include_package_data=True,
173 #      script_args=sys.argv.extend(['--template', 'TEST']),
174       zip_safe=False,
175       install_requires = server_requires,
176       message_extractors = { '.': [
177           #('**.py', 'lingua_python', None),
178           #('**.mak', 'lingua_xml', None),
179       ]},
180       entry_points = """\
181       [paste.app_factory]
182       main = bodhi.server:main
183       [console_scripts]
184       initialize_bodhi_db = bodhi.server.scripts.initializedb:main
185       bodhi-clean-old-mashes = bodhi.server.scripts.clean_old_mashes:clean_up
186       bodhi-push = bodhi.server.push:push
187       bodhi-expire-overrides = bodhi.server.scripts.expire_overrides:main
188       bodhi-untag-branched = bodhi.server.scripts.untag_branched:main
189       bodhi-approve-testing = bodhi.server.scripts.approve_testing:main
190       bodhi-manage-releases = bodhi.server.scripts.manage_releases:main
191       [moksha.consumer]
192       masher = bodhi.server.consumers.masher:Masher
193       updates = bodhi.server.consumers.updates:UpdatesHandler
194       signed = bodhi.server.consumers.signed:SignedHandler
195       """,
196       paster_plugins=['pyramid'],
197       )
198
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -14,6 +14,38 @@
 import setuptools.command.egg_info
 
 
+def get_requirements(requirements_file='requirements.txt'):
+    """
+    Get the contents of a file listing the requirements.
+
+    Args:
+        requirements_file (str): path to a requirements file
+
+    Returns:
+        list: the list of requirements, or an empty list if
+              `requirements_file` could not be opened or read
+    """
+    lines = open(requirements_file).readlines()
+    dependencies = []
+    for line in lines:
+        maybe_dep = line.strip()
+        if maybe_dep.startswith('#'):
+            # Skip pure comment lines
+            continue
+        if maybe_dep.startswith('git+'):
+            # VCS reference for dev purposes, expect a trailing comment
+            # with the normal requirement
+            __, __, maybe_dep = maybe_dep.rpartition('#')
+        else:
+            # Ignore any trailing comment
+            maybe_dep, __, __ = maybe_dep.partition('#')
+        # Remove any whitespace and assume non-empty results are dependencies
+        maybe_dep = maybe_dep.strip()
+        if maybe_dep:
+            dependencies.append(maybe_dep)
+    return dependencies
+
+
 here = os.path.abspath(os.path.dirname(__file__))
 README = open(os.path.join(here, 'README.rst')).read()
 VERSION = '2.4.0'
@@ -32,63 +64,6 @@
 PLATFORMS = ['Fedora', 'GNU/Linux']
 URL = 'https://github.com/fedora-infra/bodhi'
 
-server_requires = [
-    # push.py uses click
-    'click',
-    'pyramid',
-    'pyramid_mako',
-    'pyramid_tm',
-    'waitress',
-    'colander',
-    'cornice<2',
-
-    'python-openid',
-    'pyramid_fas_openid',
-    'packagedb-cli',
-
-    'sqlalchemy',
-    'zope.sqlalchemy',
-
-    'webhelpers',
-    'progressbar',
-
-    'bunch',
-
-    # for captchas
-    'cryptography',
-    'Pillow',
-
-    # Useful tools
-    'kitchen',
-    'python-fedora',
-    'pylibravatar',
-    'pyDNS',
-    'dogpile.cache',
-    'arrow',
-    'markdown',
-
-    # i18n, that we're not actually doing yet.
-    #'Babel',
-    #'lingua',
-
-    # External resources
-    'python-bugzilla',
-    'simplemediawiki',
-
-    # "python setup.py test" needs one of fedmsg's setup.py extra_requires
-    'fedmsg[consumers]',
-    # The masher needs fedmsg-atomic-composer
-    'fedmsg-atomic-composer >= 2016.3',
-
-    'WebOb>=1.4.1',
-    ]
-
-if sys.version_info[:3] < (2,7,0):
-    server_requires.append('importlib')
-
-if sys.version_info[:3] < (2,5,0):
-    server_requires.append('pysqlite')
-
 
 setuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'
 
@@ -172,7 +147,7 @@
       include_package_data=True,
 #      script_args=sys.argv.extend(['--template', 'TEST']),
       zip_safe=False,
-      install_requires = server_requires,
+      install_requires=get_requirements(),
       message_extractors = { '.': [
           #('**.py', 'lingua_python', None),
           #('**.mak', 'lingua_xml', None),

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -14,6 +14,38 @@\n import setuptools.command.egg_info\n \n \n+def get_requirements(requirements_file='requirements.txt'):\n+    \"\"\"\n+    Get the contents of a file listing the requirements.\n+\n+    Args:\n+        requirements_file (str): path to a requirements file\n+\n+    Returns:\n+        list: the list of requirements, or an empty list if\n+              `requirements_file` could not be opened or read\n+    \"\"\"\n+    lines = open(requirements_file).readlines()\n+    dependencies = []\n+    for line in lines:\n+        maybe_dep = line.strip()\n+        if maybe_dep.startswith('#'):\n+            # Skip pure comment lines\n+            continue\n+        if maybe_dep.startswith('git+'):\n+            # VCS reference for dev purposes, expect a trailing comment\n+            # with the normal requirement\n+            __, __, maybe_dep = maybe_dep.rpartition('#')\n+        else:\n+            # Ignore any trailing comment\n+            maybe_dep, __, __ = maybe_dep.partition('#')\n+        # Remove any whitespace and assume non-empty results are dependencies\n+        maybe_dep = maybe_dep.strip()\n+        if maybe_dep:\n+            dependencies.append(maybe_dep)\n+    return dependencies\n+\n+\n here = os.path.abspath(os.path.dirname(__file__))\n README = open(os.path.join(here, 'README.rst')).read()\n VERSION = '2.4.0'\n@@ -32,63 +64,6 @@\n PLATFORMS = ['Fedora', 'GNU/Linux']\n URL = 'https://github.com/fedora-infra/bodhi'\n \n-server_requires = [\n-    # push.py uses click\n-    'click',\n-    'pyramid',\n-    'pyramid_mako',\n-    'pyramid_tm',\n-    'waitress',\n-    'colander',\n-    'cornice<2',\n-\n-    'python-openid',\n-    'pyramid_fas_openid',\n-    'packagedb-cli',\n-\n-    'sqlalchemy',\n-    'zope.sqlalchemy',\n-\n-    'webhelpers',\n-    'progressbar',\n-\n-    'bunch',\n-\n-    # for captchas\n-    'cryptography',\n-    'Pillow',\n-\n-    # Useful tools\n-    'kitchen',\n-    'python-fedora',\n-    'pylibravatar',\n-    'pyDNS',\n-    'dogpile.cache',\n-    'arrow',\n-    'markdown',\n-\n-    # i18n, that we're not actually doing yet.\n-    #'Babel',\n-    #'lingua',\n-\n-    # External resources\n-    'python-bugzilla',\n-    'simplemediawiki',\n-\n-    # \"python setup.py test\" needs one of fedmsg's setup.py extra_requires\n-    'fedmsg[consumers]',\n-    # The masher needs fedmsg-atomic-composer\n-    'fedmsg-atomic-composer >= 2016.3',\n-\n-    'WebOb>=1.4.1',\n-    ]\n-\n-if sys.version_info[:3] < (2,7,0):\n-    server_requires.append('importlib')\n-\n-if sys.version_info[:3] < (2,5,0):\n-    server_requires.append('pysqlite')\n-\n \n setuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'\n \n@@ -172,7 +147,7 @@\n       include_package_data=True,\n #      script_args=sys.argv.extend(['--template', 'TEST']),\n       zip_safe=False,\n-      install_requires = server_requires,\n+      install_requires=get_requirements(),\n       message_extractors = { '.': [\n           #('**.py', 'lingua_python', None),\n           #('**.mak', 'lingua_xml', None),\n", "issue": "The docs on readthedocs are missing the Python bindings\nOur RTD page is missing the Python bindings:\r\n\r\nhttp://bodhi.readthedocs.io/en/latest/python_bindings.html\r\n\r\nVery likely this is due to our ```docs/conf.py``` file not injecting the root of our repo into sys.path.\n", "before_files": [{"content": "import __main__\n__requires__ = __main__.__requires__ = 'WebOb>=1.4.1'\nimport pkg_resources\n\n# The following two imports are required to shut up an\n# atexit error when running tests with python 2.7\nimport logging\nimport multiprocessing\n\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\nimport setuptools.command.egg_info\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = open(os.path.join(here, 'README.rst')).read()\nVERSION = '2.4.0'\n# Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers\nCLASSIFIERS = [\n    'Development Status :: 5 - Production/Stable',\n    'Intended Audience :: Developers',\n    'Intended Audience :: System Administrators',\n    'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n    'Operating System :: POSIX :: Linux',\n    'Programming Language :: Python :: 2.7',\n    'Topic :: System :: Software Distribution']\nLICENSE = 'GPLv2+'\nMAINTAINER = 'Fedora Infrastructure Team'\nMAINTAINER_EMAIL = 'infrastructure@lists.fedoraproject.org'\nPLATFORMS = ['Fedora', 'GNU/Linux']\nURL = 'https://github.com/fedora-infra/bodhi'\n\nserver_requires = [\n    # push.py uses click\n    'click',\n    'pyramid',\n    'pyramid_mako',\n    'pyramid_tm',\n    'waitress',\n    'colander',\n    'cornice<2',\n\n    'python-openid',\n    'pyramid_fas_openid',\n    'packagedb-cli',\n\n    'sqlalchemy',\n    'zope.sqlalchemy',\n\n    'webhelpers',\n    'progressbar',\n\n    'bunch',\n\n    # for captchas\n    'cryptography',\n    'Pillow',\n\n    # Useful tools\n    'kitchen',\n    'python-fedora',\n    'pylibravatar',\n    'pyDNS',\n    'dogpile.cache',\n    'arrow',\n    'markdown',\n\n    # i18n, that we're not actually doing yet.\n    #'Babel',\n    #'lingua',\n\n    # External resources\n    'python-bugzilla',\n    'simplemediawiki',\n\n    # \"python setup.py test\" needs one of fedmsg's setup.py extra_requires\n    'fedmsg[consumers]',\n    # The masher needs fedmsg-atomic-composer\n    'fedmsg-atomic-composer >= 2016.3',\n\n    'WebOb>=1.4.1',\n    ]\n\nif sys.version_info[:3] < (2,7,0):\n    server_requires.append('importlib')\n\nif sys.version_info[:3] < (2,5,0):\n    server_requires.append('pysqlite')\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'\n\n\nsetup(name='bodhi',\n      version=VERSION,\n      description='bodhi common package',\n      long_description=README,\n      classifiers=CLASSIFIERS,\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='fedora',\n      packages=['bodhi'],\n      include_package_data=True,\n      zip_safe=False,\n      install_requires = [],\n      tests_require = [\n          'flake8',\n          'nose',\n          'nose-cov',\n          'webtest',\n          'mock'\n      ],\n      test_suite=\"nose.collector\",\n      )\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'\n\n\nsetup(name='bodhi-client',\n      version=VERSION,\n      description='bodhi client',\n      long_description=README,\n      classifiers=CLASSIFIERS,\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='fedora',\n      packages=['bodhi.client'],\n      include_package_data=False,\n      zip_safe=False,\n      install_requires = ['click', 'six'],\n      entry_points = \"\"\"\\\n      [console_scripts]\n      bodhi = bodhi.client:cli\n      \"\"\",\n      )\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'SERVER_MANIFEST.in'\n# Due to https://github.com/pypa/setuptools/issues/808, we need to include the bodhi superpackage\n# and then remove it if we want find_packages() to find the bodhi.server package and its\n# subpackages without including the bodhi top level package.\nserver_packages = find_packages(\n    exclude=['bodhi.client', 'bodhi.client.*', 'bodhi.tests', 'bodhi.tests.*'])\nserver_packages.remove('bodhi')\n\n\nsetup(name='bodhi-server',\n      version=VERSION,\n      description='bodhi server',\n      long_description=README,\n      classifiers=CLASSIFIERS + [\n        \"Framework :: Pyramid\",\n        'Programming Language :: JavaScript',\n        \"Topic :: Internet :: WWW/HTTP\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Application\"],\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='web fedora pyramid',\n      packages=server_packages,\n      include_package_data=True,\n#      script_args=sys.argv.extend(['--template', 'TEST']),\n      zip_safe=False,\n      install_requires = server_requires,\n      message_extractors = { '.': [\n          #('**.py', 'lingua_python', None),\n          #('**.mak', 'lingua_xml', None),\n      ]},\n      entry_points = \"\"\"\\\n      [paste.app_factory]\n      main = bodhi.server:main\n      [console_scripts]\n      initialize_bodhi_db = bodhi.server.scripts.initializedb:main\n      bodhi-clean-old-mashes = bodhi.server.scripts.clean_old_mashes:clean_up\n      bodhi-push = bodhi.server.push:push\n      bodhi-expire-overrides = bodhi.server.scripts.expire_overrides:main\n      bodhi-untag-branched = bodhi.server.scripts.untag_branched:main\n      bodhi-approve-testing = bodhi.server.scripts.approve_testing:main\n      bodhi-manage-releases = bodhi.server.scripts.manage_releases:main\n      [moksha.consumer]\n      masher = bodhi.server.consumers.masher:Masher\n      updates = bodhi.server.consumers.updates:UpdatesHandler\n      signed = bodhi.server.consumers.signed:SignedHandler\n      \"\"\",\n      paster_plugins=['pyramid'],\n      )\n", "path": "setup.py"}], "after_files": [{"content": "import __main__\n__requires__ = __main__.__requires__ = 'WebOb>=1.4.1'\nimport pkg_resources\n\n# The following two imports are required to shut up an\n# atexit error when running tests with python 2.7\nimport logging\nimport multiprocessing\n\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\nimport setuptools.command.egg_info\n\n\ndef get_requirements(requirements_file='requirements.txt'):\n    \"\"\"\n    Get the contents of a file listing the requirements.\n\n    Args:\n        requirements_file (str): path to a requirements file\n\n    Returns:\n        list: the list of requirements, or an empty list if\n              `requirements_file` could not be opened or read\n    \"\"\"\n    lines = open(requirements_file).readlines()\n    dependencies = []\n    for line in lines:\n        maybe_dep = line.strip()\n        if maybe_dep.startswith('#'):\n            # Skip pure comment lines\n            continue\n        if maybe_dep.startswith('git+'):\n            # VCS reference for dev purposes, expect a trailing comment\n            # with the normal requirement\n            __, __, maybe_dep = maybe_dep.rpartition('#')\n        else:\n            # Ignore any trailing comment\n            maybe_dep, __, __ = maybe_dep.partition('#')\n        # Remove any whitespace and assume non-empty results are dependencies\n        maybe_dep = maybe_dep.strip()\n        if maybe_dep:\n            dependencies.append(maybe_dep)\n    return dependencies\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = open(os.path.join(here, 'README.rst')).read()\nVERSION = '2.4.0'\n# Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers\nCLASSIFIERS = [\n    'Development Status :: 5 - Production/Stable',\n    'Intended Audience :: Developers',\n    'Intended Audience :: System Administrators',\n    'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n    'Operating System :: POSIX :: Linux',\n    'Programming Language :: Python :: 2.7',\n    'Topic :: System :: Software Distribution']\nLICENSE = 'GPLv2+'\nMAINTAINER = 'Fedora Infrastructure Team'\nMAINTAINER_EMAIL = 'infrastructure@lists.fedoraproject.org'\nPLATFORMS = ['Fedora', 'GNU/Linux']\nURL = 'https://github.com/fedora-infra/bodhi'\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'\n\n\nsetup(name='bodhi',\n      version=VERSION,\n      description='bodhi common package',\n      long_description=README,\n      classifiers=CLASSIFIERS,\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='fedora',\n      packages=['bodhi'],\n      include_package_data=True,\n      zip_safe=False,\n      install_requires = [],\n      tests_require = [\n          'flake8',\n          'nose',\n          'nose-cov',\n          'webtest',\n          'mock'\n      ],\n      test_suite=\"nose.collector\",\n      )\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'\n\n\nsetup(name='bodhi-client',\n      version=VERSION,\n      description='bodhi client',\n      long_description=README,\n      classifiers=CLASSIFIERS,\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='fedora',\n      packages=['bodhi.client'],\n      include_package_data=False,\n      zip_safe=False,\n      install_requires = ['click', 'six'],\n      entry_points = \"\"\"\\\n      [console_scripts]\n      bodhi = bodhi.client:cli\n      \"\"\",\n      )\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'SERVER_MANIFEST.in'\n# Due to https://github.com/pypa/setuptools/issues/808, we need to include the bodhi superpackage\n# and then remove it if we want find_packages() to find the bodhi.server package and its\n# subpackages without including the bodhi top level package.\nserver_packages = find_packages(\n    exclude=['bodhi.client', 'bodhi.client.*', 'bodhi.tests', 'bodhi.tests.*'])\nserver_packages.remove('bodhi')\n\n\nsetup(name='bodhi-server',\n      version=VERSION,\n      description='bodhi server',\n      long_description=README,\n      classifiers=CLASSIFIERS + [\n        \"Framework :: Pyramid\",\n        'Programming Language :: JavaScript',\n        \"Topic :: Internet :: WWW/HTTP\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Application\"],\n      license=LICENSE,\n      maintainer=MAINTAINER,\n      maintainer_email=MAINTAINER_EMAIL,\n      platforms=PLATFORMS,\n      url=URL,\n      keywords='web fedora pyramid',\n      packages=server_packages,\n      include_package_data=True,\n#      script_args=sys.argv.extend(['--template', 'TEST']),\n      zip_safe=False,\n      install_requires=get_requirements(),\n      message_extractors = { '.': [\n          #('**.py', 'lingua_python', None),\n          #('**.mak', 'lingua_xml', None),\n      ]},\n      entry_points = \"\"\"\\\n      [paste.app_factory]\n      main = bodhi.server:main\n      [console_scripts]\n      initialize_bodhi_db = bodhi.server.scripts.initializedb:main\n      bodhi-clean-old-mashes = bodhi.server.scripts.clean_old_mashes:clean_up\n      bodhi-push = bodhi.server.push:push\n      bodhi-expire-overrides = bodhi.server.scripts.expire_overrides:main\n      bodhi-untag-branched = bodhi.server.scripts.untag_branched:main\n      bodhi-approve-testing = bodhi.server.scripts.approve_testing:main\n      bodhi-manage-releases = bodhi.server.scripts.manage_releases:main\n      [moksha.consumer]\n      masher = bodhi.server.consumers.masher:Masher\n      updates = bodhi.server.consumers.updates:UpdatesHandler\n      signed = bodhi.server.consumers.signed:SignedHandler\n      \"\"\",\n      paster_plugins=['pyramid'],\n      )\n", "path": "setup.py"}]}