We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
The CI yaml file is invalid yaml
I noticed today that our CentOS CI service jobs have been failing for a week or two due to the yaml being invalid:

```
>>> with open('devel/ci/githubprb-project.yml') as yml:
...     a = yaml.load(yml.read())                                                                                      
... 
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 71, in load
    return loader.get_single_data()
  File "/usr/lib64/python2.7/site-packages/yaml/constructor.py", line 37, in get_single_data
    node = self.get_single_node()
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 82, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 111, in compose_sequence_node
    node.value.append(self.compose_node(node, index))
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 82, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 111, in compose_sequence_node
    node.value.append(self.compose_node(node, index))
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib64/python2.7/site-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/lib64/python2.7/site-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/usr/lib64/python2.7/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
    if self.check_token(KeyToken):
  File "/usr/lib64/python2.7/site-packages/yaml/scanner.py", line 116, in check_token
    self.fetch_more_tokens()
  File "/usr/lib64/python2.7/site-packages/yaml/scanner.py", line 220, in fetch_more_tokens
    return self.fetch_value()
  File "/usr/lib64/python2.7/site-packages/yaml/scanner.py", line 576, in fetch_value
    self.get_mark())
yaml.scanner.ScannerError: mapping values are not allowed here
  in "<string>", line 20, column 99:
     ... ase review the Jenkins job. Hint: You can search for "JENKIES FA ... 
                                         ^
```

I personally am responsible, when I made https://github.com/fedora-infra/bodhi/commit/791d4e3ea98d252daa6fb4856cb394eb8b07d0b3. Shame!

Anywyays, it's easy to fix and we should add a test that ensures the YAML is at least parseable.

--- 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  # noqa
4 
5 # The following two imports are required to shut up an
6 # atexit error when running tests with python 2.7
7 from setuptools import setup, find_packages  # noqa
8 import logging  # noqa
9 import multiprocessing  # noqa
10 import os  # noqa
11 import setuptools.command.egg_info  # noqa
12 import sys  # noqa
13 
14 
15 def get_requirements(requirements_file='requirements.txt'):
16     """
17     Get the contents of a file listing the requirements.
18 
19     Args:
20         requirements_file (str): path to a requirements file
21 
22     Returns:
23         list: the list of requirements, or an empty list if
24               `requirements_file` could not be opened or read
25     """
26     lines = open(requirements_file).readlines()
27     dependencies = []
28     for line in lines:
29         maybe_dep = line.strip()
30         if maybe_dep.startswith('#'):
31             # Skip pure comment lines
32             continue
33         if maybe_dep.startswith('git+'):
34             # VCS reference for dev purposes, expect a trailing comment
35             # with the normal requirement
36             __, __, maybe_dep = maybe_dep.rpartition('#')
37         else:
38             # Ignore any trailing comment
39             maybe_dep, __, __ = maybe_dep.partition('#')
40         # Remove any whitespace and assume non-empty results are dependencies
41         maybe_dep = maybe_dep.strip()
42         if maybe_dep:
43             dependencies.append(maybe_dep)
44     return dependencies
45 
46 
47 here = os.path.abspath(os.path.dirname(__file__))
48 README = open(os.path.join(here, 'README.rst')).read()
49 VERSION = '3.0.0'
50 # Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers
51 CLASSIFIERS = [
52     'Development Status :: 5 - Production/Stable',
53     'Intended Audience :: Developers',
54     'Intended Audience :: System Administrators',
55     'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
56     'Operating System :: POSIX :: Linux',
57     'Programming Language :: Python :: 2.7',
58     'Topic :: System :: Software Distribution']
59 LICENSE = 'GPLv2+'
60 MAINTAINER = 'Fedora Infrastructure Team'
61 MAINTAINER_EMAIL = 'infrastructure@lists.fedoraproject.org'
62 PLATFORMS = ['Fedora', 'GNU/Linux']
63 URL = 'https://github.com/fedora-infra/bodhi'
64 
65 
66 setuptools.command.egg_info.manifest_maker.template = 'BODHI_MANIFEST.in'
67 
68 
69 setup(
70     name='bodhi',
71     version=VERSION,
72     description='bodhi common package',
73     long_description=README,
74     classifiers=CLASSIFIERS,
75     license=LICENSE,
76     maintainer=MAINTAINER,
77     maintainer_email=MAINTAINER_EMAIL,
78     platforms=PLATFORMS,
79     url=URL,
80     keywords='fedora',
81     packages=['bodhi'],
82     include_package_data=True,
83     zip_safe=False,
84     install_requires=[],
85     tests_require=[
86         'flake8',
87         'pytest',
88         'pytest-cov',
89         'webtest',
90         'mock',
91     ],
92 )
93 
94 
95 setuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'
96 
97 
98 setup(
99     name='bodhi-client',
100     version=VERSION,
101     description='bodhi client',
102     long_description=README,
103     classifiers=CLASSIFIERS,
104     license=LICENSE,
105     maintainer=MAINTAINER,
106     maintainer_email=MAINTAINER_EMAIL,
107     platforms=PLATFORMS,
108     url=URL,
109     keywords='fedora',
110     packages=['bodhi.client'],
111     include_package_data=False,
112     zip_safe=False,
113     install_requires=['click', 'iniparse', 'python-fedora >= 0.9.0', 'six'],
114     entry_points="""\
115     [console_scripts]
116     bodhi = bodhi.client:cli
117     """)
118 
119 
120 setuptools.command.egg_info.manifest_maker.template = 'SERVER_MANIFEST.in'
121 # Due to https://github.com/pypa/setuptools/issues/808, we need to include the bodhi superpackage
122 # and then remove it if we want find_packages() to find the bodhi.server package and its
123 # subpackages without including the bodhi top level package.
124 server_packages = find_packages(
125     exclude=['bodhi.client', 'bodhi.client.*', 'bodhi.tests', 'bodhi.tests.*'])
126 server_packages.remove('bodhi')
127 
128 
129 setup(
130     name='bodhi-server',
131     version=VERSION,
132     description='bodhi server',
133     long_description=README,
134     classifiers=CLASSIFIERS + [
135         'Framework :: Pyramid',
136         'Programming Language :: JavaScript',
137         "Topic :: Internet :: WWW/HTTP",
138         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application"],
139     license=LICENSE,
140     maintainer=MAINTAINER,
141     maintainer_email=MAINTAINER_EMAIL,
142     platforms=PLATFORMS,
143     url=URL,
144     keywords='web fedora pyramid',
145     packages=server_packages,
146     include_package_data=True,
147     zip_safe=False,
148     install_requires=get_requirements(),
149     message_extractors={'.': []},
150     entry_points="""\
151     [paste.app_factory]
152     main = bodhi.server:main
153     [console_scripts]
154     initialize_bodhi_db = bodhi.server.scripts.initializedb:main
155     bodhi-clean-old-mashes = bodhi.server.scripts.clean_old_mashes:clean_up
156     bodhi-dequeue-stable = bodhi.server.scripts.dequeue_stable:dequeue_stable
157     bodhi-push = bodhi.server.push:push
158     bodhi-expire-overrides = bodhi.server.scripts.expire_overrides:main
159     bodhi-untag-branched = bodhi.server.scripts.untag_branched:main
160     bodhi-approve-testing = bodhi.server.scripts.approve_testing:main
161     bodhi-manage-releases = bodhi.server.scripts.manage_releases:main
162     bodhi-check-policies = bodhi.server.scripts.check_policies:check
163     [moksha.consumer]
164     masher = bodhi.server.consumers.masher:Masher
165     updates = bodhi.server.consumers.updates:UpdatesHandler
166     signed = bodhi.server.consumers.signed:SignedHandler
167     """,
168     paster_plugins=['pyramid'])
169
```
--- 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
@@ -86,6 +86,7 @@
         'flake8',
         'pytest',
         'pytest-cov',
+        'pyyaml',
         'webtest',
         'mock',
     ],

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -86,6 +86,7 @@\n         'flake8',\n         'pytest',\n         'pytest-cov',\n+        'pyyaml',\n         'webtest',\n         'mock',\n     ],\n", "issue": "The CI yaml file is invalid yaml\nI noticed today that our CentOS CI service jobs have been failing for a week or two due to the yaml being invalid:\r\n\r\n```\r\n>>> with open('devel/ci/githubprb-project.yml') as yml:\r\n...     a = yaml.load(yml.read())                                                                                      \r\n... \r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 2, in <module>\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/__init__.py\", line 71, in load\r\n    return loader.get_single_data()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/constructor.py\", line 37, in get_single_data\r\n    node = self.get_single_node()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 36, in get_single_node\r\n    document = self.compose_document()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 55, in compose_document\r\n    node = self.compose_node(None, None)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 82, in compose_node\r\n    node = self.compose_sequence_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 111, in compose_sequence_node\r\n    node.value.append(self.compose_node(node, index))\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 133, in compose_mapping_node\r\n    item_value = self.compose_node(node, item_key)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 133, in compose_mapping_node\r\n    item_value = self.compose_node(node, item_key)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 82, in compose_node\r\n    node = self.compose_sequence_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 111, in compose_sequence_node\r\n    node.value.append(self.compose_node(node, index))\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 133, in compose_mapping_node\r\n    item_value = self.compose_node(node, item_key)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/composer.py\", line 127, in compose_mapping_node\r\n    while not self.check_event(MappingEndEvent):\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/parser.py\", line 98, in check_event\r\n    self.current_event = self.state()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/parser.py\", line 428, in parse_block_mapping_key\r\n    if self.check_token(KeyToken):\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/scanner.py\", line 116, in check_token\r\n    self.fetch_more_tokens()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/scanner.py\", line 220, in fetch_more_tokens\r\n    return self.fetch_value()\r\n  File \"/usr/lib64/python2.7/site-packages/yaml/scanner.py\", line 576, in fetch_value\r\n    self.get_mark())\r\nyaml.scanner.ScannerError: mapping values are not allowed here\r\n  in \"<string>\", line 20, column 99:\r\n     ... ase review the Jenkins job. Hint: You can search for \"JENKIES FA ... \r\n                                         ^\r\n```\r\n\r\nI personally am responsible, when I made https://github.com/fedora-infra/bodhi/commit/791d4e3ea98d252daa6fb4856cb394eb8b07d0b3. Shame!\r\n\r\nAnywyays, it's easy to fix and we should add a test that ensures the YAML is at least parseable.\n", "before_files": [{"content": "import __main__\n__requires__ = __main__.__requires__ = 'WebOb>=1.4.1'\nimport pkg_resources  # noqa\n\n# The following two imports are required to shut up an\n# atexit error when running tests with python 2.7\nfrom setuptools import setup, find_packages  # noqa\nimport logging  # noqa\nimport multiprocessing  # noqa\nimport os  # noqa\nimport setuptools.command.egg_info  # noqa\nimport sys  # noqa\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 = '3.0.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(\n    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        'pytest',\n        'pytest-cov',\n        'webtest',\n        'mock',\n    ],\n)\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'\n\n\nsetup(\n    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', 'iniparse', 'python-fedora >= 0.9.0', 'six'],\n    entry_points=\"\"\"\\\n    [console_scripts]\n    bodhi = bodhi.client:cli\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(\n    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    zip_safe=False,\n    install_requires=get_requirements(),\n    message_extractors={'.': []},\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-dequeue-stable = bodhi.server.scripts.dequeue_stable:dequeue_stable\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    bodhi-check-policies = bodhi.server.scripts.check_policies:check\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", "path": "setup.py"}], "after_files": [{"content": "import __main__\n__requires__ = __main__.__requires__ = 'WebOb>=1.4.1'\nimport pkg_resources  # noqa\n\n# The following two imports are required to shut up an\n# atexit error when running tests with python 2.7\nfrom setuptools import setup, find_packages  # noqa\nimport logging  # noqa\nimport multiprocessing  # noqa\nimport os  # noqa\nimport setuptools.command.egg_info  # noqa\nimport sys  # noqa\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 = '3.0.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(\n    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        'pytest',\n        'pytest-cov',\n        'pyyaml',\n        'webtest',\n        'mock',\n    ],\n)\n\n\nsetuptools.command.egg_info.manifest_maker.template = 'CLIENT_MANIFEST.in'\n\n\nsetup(\n    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', 'iniparse', 'python-fedora >= 0.9.0', 'six'],\n    entry_points=\"\"\"\\\n    [console_scripts]\n    bodhi = bodhi.client:cli\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(\n    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    zip_safe=False,\n    install_requires=get_requirements(),\n    message_extractors={'.': []},\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-dequeue-stable = bodhi.server.scripts.dequeue_stable:dequeue_stable\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    bodhi-check-policies = bodhi.server.scripts.check_policies:check\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", "path": "setup.py"}]}