We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Installation seems to be broken on python3.6.4
<img width="1125" alt="Screen Shot 2020-02-26 at 12 31 00 PM" src="https://user-images.githubusercontent.com/17484350/75380353-e2224900-58a4-11ea-96b3-2629b94c7107.png">


--- 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 # coding=utf-8
2 from __future__ import absolute_import, division, print_function, unicode_literals
3 
4 import sys
5 
6 from setuptools import Extension, find_packages, setup
7 
8 with open("README.md", "r") as fp:
9     long_description = fp.read()
10 
11 packages = find_packages("src")
12 if sys.version_info < (3, 6):
13     packages = [p for p in packages if not p.startswith("scout_apm.async_")]
14 
15 compile_extensions = (
16     # Python 3+
17     sys.version_info >= (3,)
18     # Not Jython
19     and not sys.platform.startswith("java")
20     # Not PyPy
21     and "__pypy__" not in sys.builtin_module_names
22 )
23 if compile_extensions:
24     ext_modules = [
25         Extension(
26             str("scout_apm.core._objtrace"), [str("src/scout_apm/core/_objtrace.c")]
27         )
28     ]
29 else:
30     ext_modules = []
31 
32 setup(
33     name="scout_apm",
34     version="2.11.0",
35     description="Scout Application Performance Monitoring Agent",
36     long_description=long_description,
37     long_description_content_type="text/markdown",
38     url="https://github.com/scoutapp/scout_apm_python",
39     project_urls={
40         "Documentation": "https://docs.scoutapm.com/#python-agent",
41         "Changelog": (
42             "https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md"
43         ),
44     },
45     author="Scout",
46     author_email="support@scoutapm.com",
47     license="MIT",
48     zip_safe=False,
49     python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
50     packages=packages,
51     package_dir={str(""): str("src")},
52     ext_modules=ext_modules,
53     entry_points={
54         "console_scripts": [
55             "core-agent-manager = scout_apm.core.cli.core_agent_manager:main"
56         ]
57     },
58     install_requires=[
59         'asgiref ; python_version >= "3.5"',
60         'importlib-metadata ; python_version < "3.8"',
61         "psutil>=5,<6",
62         'urllib3[secure] < 1.25 ; python_version < "3.5"',
63         'urllib3[secure] < 2 ; python_version >= "3.5"',
64         "wrapt>=1.10,<2.0",
65     ],
66     keywords="apm performance monitoring development",
67     classifiers=[
68         "Development Status :: 5 - Production/Stable",
69         "Framework :: Bottle",
70         "Framework :: Django",
71         "Framework :: Django :: 1.8",
72         "Framework :: Django :: 1.9",
73         "Framework :: Django :: 1.10",
74         "Framework :: Django :: 1.11",
75         "Framework :: Django :: 2.0",
76         "Framework :: Django :: 2.1",
77         "Framework :: Django :: 2.2",
78         "Framework :: Django :: 3.0",
79         "Framework :: Flask",
80         "Framework :: Pyramid",
81         "Intended Audience :: Developers",
82         "Topic :: System :: Monitoring",
83         "License :: OSI Approved :: MIT License",
84         "Operating System :: MacOS",
85         "Operating System :: POSIX",
86         "Operating System :: POSIX :: Linux",
87         "Programming Language :: Python :: 2",
88         "Programming Language :: Python :: 2.7",
89         "Programming Language :: Python :: 3",
90         "Programming Language :: Python :: 3.4",
91         "Programming Language :: Python :: 3.5",
92         "Programming Language :: Python :: 3.6",
93         "Programming Language :: Python :: 3.7",
94         "Programming Language :: Python :: 3.8",
95     ],
96 )
97
```
--- 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
@@ -23,7 +23,9 @@
 if compile_extensions:
     ext_modules = [
         Extension(
-            str("scout_apm.core._objtrace"), [str("src/scout_apm/core/_objtrace.c")]
+            name=str("scout_apm.core._objtrace"),
+            sources=[str("src/scout_apm/core/_objtrace.c")],
+            optional=True,
         )
     ]
 else:

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -23,7 +23,9 @@\n if compile_extensions:\n     ext_modules = [\n         Extension(\n-            str(\"scout_apm.core._objtrace\"), [str(\"src/scout_apm/core/_objtrace.c\")]\n+            name=str(\"scout_apm.core._objtrace\"),\n+            sources=[str(\"src/scout_apm/core/_objtrace.c\")],\n+            optional=True,\n         )\n     ]\n else:\n", "issue": "Installation seems to be broken on python3.6.4\n<img width=\"1125\" alt=\"Screen Shot 2020-02-26 at 12 31 00 PM\" src=\"https://user-images.githubusercontent.com/17484350/75380353-e2224900-58a4-11ea-96b3-2629b94c7107.png\">\r\n\n", "before_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport sys\n\nfrom setuptools import Extension, find_packages, setup\n\nwith open(\"README.md\", \"r\") as fp:\n    long_description = fp.read()\n\npackages = find_packages(\"src\")\nif sys.version_info < (3, 6):\n    packages = [p for p in packages if not p.startswith(\"scout_apm.async_\")]\n\ncompile_extensions = (\n    # Python 3+\n    sys.version_info >= (3,)\n    # Not Jython\n    and not sys.platform.startswith(\"java\")\n    # Not PyPy\n    and \"__pypy__\" not in sys.builtin_module_names\n)\nif compile_extensions:\n    ext_modules = [\n        Extension(\n            str(\"scout_apm.core._objtrace\"), [str(\"src/scout_apm/core/_objtrace.c\")]\n        )\n    ]\nelse:\n    ext_modules = []\n\nsetup(\n    name=\"scout_apm\",\n    version=\"2.11.0\",\n    description=\"Scout Application Performance Monitoring Agent\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/scoutapp/scout_apm_python\",\n    project_urls={\n        \"Documentation\": \"https://docs.scoutapm.com/#python-agent\",\n        \"Changelog\": (\n            \"https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md\"\n        ),\n    },\n    author=\"Scout\",\n    author_email=\"support@scoutapm.com\",\n    license=\"MIT\",\n    zip_safe=False,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4\",\n    packages=packages,\n    package_dir={str(\"\"): str(\"src\")},\n    ext_modules=ext_modules,\n    entry_points={\n        \"console_scripts\": [\n            \"core-agent-manager = scout_apm.core.cli.core_agent_manager:main\"\n        ]\n    },\n    install_requires=[\n        'asgiref ; python_version >= \"3.5\"',\n        'importlib-metadata ; python_version < \"3.8\"',\n        \"psutil>=5,<6\",\n        'urllib3[secure] < 1.25 ; python_version < \"3.5\"',\n        'urllib3[secure] < 2 ; python_version >= \"3.5\"',\n        \"wrapt>=1.10,<2.0\",\n    ],\n    keywords=\"apm performance monitoring development\",\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Framework :: Bottle\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 1.8\",\n        \"Framework :: Django :: 1.9\",\n        \"Framework :: Django :: 1.10\",\n        \"Framework :: Django :: 1.11\",\n        \"Framework :: Django :: 2.0\",\n        \"Framework :: Django :: 2.1\",\n        \"Framework :: Django :: 2.2\",\n        \"Framework :: Django :: 3.0\",\n        \"Framework :: Flask\",\n        \"Framework :: Pyramid\",\n        \"Intended Audience :: Developers\",\n        \"Topic :: System :: Monitoring\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX\",\n        \"Operating System :: POSIX :: Linux\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport sys\n\nfrom setuptools import Extension, find_packages, setup\n\nwith open(\"README.md\", \"r\") as fp:\n    long_description = fp.read()\n\npackages = find_packages(\"src\")\nif sys.version_info < (3, 6):\n    packages = [p for p in packages if not p.startswith(\"scout_apm.async_\")]\n\ncompile_extensions = (\n    # Python 3+\n    sys.version_info >= (3,)\n    # Not Jython\n    and not sys.platform.startswith(\"java\")\n    # Not PyPy\n    and \"__pypy__\" not in sys.builtin_module_names\n)\nif compile_extensions:\n    ext_modules = [\n        Extension(\n            name=str(\"scout_apm.core._objtrace\"),\n            sources=[str(\"src/scout_apm/core/_objtrace.c\")],\n            optional=True,\n        )\n    ]\nelse:\n    ext_modules = []\n\nsetup(\n    name=\"scout_apm\",\n    version=\"2.11.0\",\n    description=\"Scout Application Performance Monitoring Agent\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/scoutapp/scout_apm_python\",\n    project_urls={\n        \"Documentation\": \"https://docs.scoutapm.com/#python-agent\",\n        \"Changelog\": (\n            \"https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md\"\n        ),\n    },\n    author=\"Scout\",\n    author_email=\"support@scoutapm.com\",\n    license=\"MIT\",\n    zip_safe=False,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4\",\n    packages=packages,\n    package_dir={str(\"\"): str(\"src\")},\n    ext_modules=ext_modules,\n    entry_points={\n        \"console_scripts\": [\n            \"core-agent-manager = scout_apm.core.cli.core_agent_manager:main\"\n        ]\n    },\n    install_requires=[\n        'asgiref ; python_version >= \"3.5\"',\n        'importlib-metadata ; python_version < \"3.8\"',\n        \"psutil>=5,<6\",\n        'urllib3[secure] < 1.25 ; python_version < \"3.5\"',\n        'urllib3[secure] < 2 ; python_version >= \"3.5\"',\n        \"wrapt>=1.10,<2.0\",\n    ],\n    keywords=\"apm performance monitoring development\",\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Framework :: Bottle\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 1.8\",\n        \"Framework :: Django :: 1.9\",\n        \"Framework :: Django :: 1.10\",\n        \"Framework :: Django :: 1.11\",\n        \"Framework :: Django :: 2.0\",\n        \"Framework :: Django :: 2.1\",\n        \"Framework :: Django :: 2.2\",\n        \"Framework :: Django :: 3.0\",\n        \"Framework :: Flask\",\n        \"Framework :: Pyramid\",\n        \"Intended Audience :: Developers\",\n        \"Topic :: System :: Monitoring\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX\",\n        \"Operating System :: POSIX :: Linux\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n    ],\n)\n", "path": "setup.py"}]}