prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Create packages, automate releases
  Create new `opentelemetry-` packages for the API and SDK, and consider doing the same for all OC contrib packages.
  
  Configure CI to build and release these packages when we tag a new release.
  
  See #6 for CI bootstrapping.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `opentelemetry-api/setup.py`
  Content:
  ```
  1 # Copyright 2019, OpenTelemetry Authors
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 import os
  16 
  17 import setuptools
  18 
  19 BASE_DIR = os.path.dirname(__file__)
  20 VERSION_FILENAME = os.path.join(
  21     BASE_DIR, "src", "opentelemetry", "util", "version.py"
  22 )
  23 PACKAGE_INFO = {}
  24 with open(VERSION_FILENAME) as f:
  25     exec(f.read(), PACKAGE_INFO)
  26 
  27 setuptools.setup(
  28     name="opentelemetry-api",
  29     version=PACKAGE_INFO["__version__"],
  30     author="OpenTelemetry Authors",
  31     author_email="cncf-opentelemetry-contributors@lists.cncf.io",
  32     classifiers=[
  33         "Development Status :: 3 - Alpha",
  34         "Intended Audience :: Developers",
  35         "License :: OSI Approved :: Apache Software License",
  36         "Programming Language :: Python",
  37         "Programming Language :: Python :: 3",
  38         "Programming Language :: Python :: 3.4",
  39         "Programming Language :: Python :: 3.5",
  40         "Programming Language :: Python :: 3.6",
  41         "Programming Language :: Python :: 3.7",
  42     ],
  43     description="OpenTelemetry Python API",
  44     include_package_data=True,
  45     long_description=open("README.rst").read(),
  46     install_requires=["typing; python_version<'3.5'"],
  47     extras_require={},
  48     license="Apache-2.0",
  49     package_dir={"": "src"},
  50     packages=setuptools.find_namespace_packages(
  51         where="src", include="opentelemetry.*"
  52     ),
  53     url=(
  54         "https://github.com/open-telemetry/opentelemetry-python"
  55         "/tree/master/opentelemetry-api"
  56     ),
  57     zip_safe=False,
  58 )
  59
  ```
  
  Path: `opentelemetry-sdk/setup.py`
  Content:
  ```
  1 # Copyright 2019, OpenTelemetry Authors
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 import os
  16 
  17 import setuptools
  18 
  19 BASE_DIR = os.path.dirname(__file__)
  20 VERSION_FILENAME = os.path.join(
  21     BASE_DIR, "src", "opentelemetry", "sdk", "version.py"
  22 )
  23 PACKAGE_INFO = {}
  24 with open(VERSION_FILENAME) as f:
  25     exec(f.read(), PACKAGE_INFO)
  26 
  27 setuptools.setup(
  28     name="opentelemetry-sdk",
  29     version=PACKAGE_INFO["__version__"],
  30     author="OpenTelemetry Authors",
  31     author_email="cncf-opentelemetry-contributors@lists.cncf.io",
  32     classifiers=[
  33         "Development Status :: 3 - Alpha",
  34         "Intended Audience :: Developers",
  35         "License :: OSI Approved :: Apache Software License",
  36         "Programming Language :: Python",
  37         "Programming Language :: Python :: 3",
  38         "Programming Language :: Python :: 3.4",
  39         "Programming Language :: Python :: 3.5",
  40         "Programming Language :: Python :: 3.6",
  41         "Programming Language :: Python :: 3.7",
  42     ],
  43     description="OpenTelemetry Python SDK",
  44     include_package_data=True,
  45     long_description=open("README.rst").read(),
  46     install_requires=["opentelemetry-api==0.1.dev0"],
  47     extras_require={},
  48     license="Apache-2.0",
  49     package_dir={"": "src"},
  50     packages=setuptools.find_namespace_packages(
  51         where="src", include="opentelemetry.sdk.*"
  52     ),
  53     url=(
  54         "https://github.com/open-telemetry/opentelemetry-python"
  55         "/tree/master/opentelemetry-sdk"
  56     ),
  57     zip_safe=False,
  58 )
  59
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/opentelemetry-api/setup.py b/opentelemetry-api/setup.py
  --- a/opentelemetry-api/setup.py
  +++ b/opentelemetry-api/setup.py
  @@ -43,6 +43,7 @@
       description="OpenTelemetry Python API",
       include_package_data=True,
       long_description=open("README.rst").read(),
  +    long_description_content_type="text/x-rst",
       install_requires=["typing; python_version<'3.5'"],
       extras_require={},
       license="Apache-2.0",
  diff --git a/opentelemetry-sdk/setup.py b/opentelemetry-sdk/setup.py
  --- a/opentelemetry-sdk/setup.py
  +++ b/opentelemetry-sdk/setup.py
  @@ -43,6 +43,7 @@
       description="OpenTelemetry Python SDK",
       include_package_data=True,
       long_description=open("README.rst").read(),
  +    long_description_content_type="text/x-rst",
       install_requires=["opentelemetry-api==0.1.dev0"],
       extras_require={},
       license="Apache-2.0",
  
verification_info: {"golden_diff": "diff --git a/opentelemetry-api/setup.py b/opentelemetry-api/setup.py\n--- a/opentelemetry-api/setup.py\n+++ b/opentelemetry-api/setup.py\n@@ -43,6 +43,7 @@\n     description=\"OpenTelemetry Python API\",\n     include_package_data=True,\n     long_description=open(\"README.rst\").read(),\n+    long_description_content_type=\"text/x-rst\",\n     install_requires=[\"typing; python_version<'3.5'\"],\n     extras_require={},\n     license=\"Apache-2.0\",\ndiff --git a/opentelemetry-sdk/setup.py b/opentelemetry-sdk/setup.py\n--- a/opentelemetry-sdk/setup.py\n+++ b/opentelemetry-sdk/setup.py\n@@ -43,6 +43,7 @@\n     description=\"OpenTelemetry Python SDK\",\n     include_package_data=True,\n     long_description=open(\"README.rst\").read(),\n+    long_description_content_type=\"text/x-rst\",\n     install_requires=[\"opentelemetry-api==0.1.dev0\"],\n     extras_require={},\n     license=\"Apache-2.0\",\n", "issue": "Create packages, automate releases\nCreate new `opentelemetry-` packages for the API and SDK, and consider doing the same for all OC contrib packages.\r\n\r\nConfigure CI to build and release these packages when we tag a new release.\r\n\r\nSee #6 for CI bootstrapping.\n", "before_files": [{"content": "# Copyright 2019, OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nimport setuptools\n\nBASE_DIR = os.path.dirname(__file__)\nVERSION_FILENAME = os.path.join(\n    BASE_DIR, \"src\", \"opentelemetry\", \"util\", \"version.py\"\n)\nPACKAGE_INFO = {}\nwith open(VERSION_FILENAME) as f:\n    exec(f.read(), PACKAGE_INFO)\n\nsetuptools.setup(\n    name=\"opentelemetry-api\",\n    version=PACKAGE_INFO[\"__version__\"],\n    author=\"OpenTelemetry Authors\",\n    author_email=\"cncf-opentelemetry-contributors@lists.cncf.io\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\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    ],\n    description=\"OpenTelemetry Python API\",\n    include_package_data=True,\n    long_description=open(\"README.rst\").read(),\n    install_requires=[\"typing; python_version<'3.5'\"],\n    extras_require={},\n    license=\"Apache-2.0\",\n    package_dir={\"\": \"src\"},\n    packages=setuptools.find_namespace_packages(\n        where=\"src\", include=\"opentelemetry.*\"\n    ),\n    url=(\n        \"https://github.com/open-telemetry/opentelemetry-python\"\n        \"/tree/master/opentelemetry-api\"\n    ),\n    zip_safe=False,\n)\n", "path": "opentelemetry-api/setup.py"}, {"content": "# Copyright 2019, OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nimport setuptools\n\nBASE_DIR = os.path.dirname(__file__)\nVERSION_FILENAME = os.path.join(\n    BASE_DIR, \"src\", \"opentelemetry\", \"sdk\", \"version.py\"\n)\nPACKAGE_INFO = {}\nwith open(VERSION_FILENAME) as f:\n    exec(f.read(), PACKAGE_INFO)\n\nsetuptools.setup(\n    name=\"opentelemetry-sdk\",\n    version=PACKAGE_INFO[\"__version__\"],\n    author=\"OpenTelemetry Authors\",\n    author_email=\"cncf-opentelemetry-contributors@lists.cncf.io\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\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    ],\n    description=\"OpenTelemetry Python SDK\",\n    include_package_data=True,\n    long_description=open(\"README.rst\").read(),\n    install_requires=[\"opentelemetry-api==0.1.dev0\"],\n    extras_require={},\n    license=\"Apache-2.0\",\n    package_dir={\"\": \"src\"},\n    packages=setuptools.find_namespace_packages(\n        where=\"src\", include=\"opentelemetry.sdk.*\"\n    ),\n    url=(\n        \"https://github.com/open-telemetry/opentelemetry-python\"\n        \"/tree/master/opentelemetry-sdk\"\n    ),\n    zip_safe=False,\n)\n", "path": "opentelemetry-sdk/setup.py"}], "after_files": [{"content": "# Copyright 2019, OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nimport setuptools\n\nBASE_DIR = os.path.dirname(__file__)\nVERSION_FILENAME = os.path.join(\n    BASE_DIR, \"src\", \"opentelemetry\", \"util\", \"version.py\"\n)\nPACKAGE_INFO = {}\nwith open(VERSION_FILENAME) as f:\n    exec(f.read(), PACKAGE_INFO)\n\nsetuptools.setup(\n    name=\"opentelemetry-api\",\n    version=PACKAGE_INFO[\"__version__\"],\n    author=\"OpenTelemetry Authors\",\n    author_email=\"cncf-opentelemetry-contributors@lists.cncf.io\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\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    ],\n    description=\"OpenTelemetry Python API\",\n    include_package_data=True,\n    long_description=open(\"README.rst\").read(),\n    long_description_content_type=\"text/x-rst\",\n    install_requires=[\"typing; python_version<'3.5'\"],\n    extras_require={},\n    license=\"Apache-2.0\",\n    package_dir={\"\": \"src\"},\n    packages=setuptools.find_namespace_packages(\n        where=\"src\", include=\"opentelemetry.*\"\n    ),\n    url=(\n        \"https://github.com/open-telemetry/opentelemetry-python\"\n        \"/tree/master/opentelemetry-api\"\n    ),\n    zip_safe=False,\n)\n", "path": "opentelemetry-api/setup.py"}, {"content": "# Copyright 2019, OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport os\n\nimport setuptools\n\nBASE_DIR = os.path.dirname(__file__)\nVERSION_FILENAME = os.path.join(\n    BASE_DIR, \"src\", \"opentelemetry\", \"sdk\", \"version.py\"\n)\nPACKAGE_INFO = {}\nwith open(VERSION_FILENAME) as f:\n    exec(f.read(), PACKAGE_INFO)\n\nsetuptools.setup(\n    name=\"opentelemetry-sdk\",\n    version=PACKAGE_INFO[\"__version__\"],\n    author=\"OpenTelemetry Authors\",\n    author_email=\"cncf-opentelemetry-contributors@lists.cncf.io\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python\",\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    ],\n    description=\"OpenTelemetry Python SDK\",\n    include_package_data=True,\n    long_description=open(\"README.rst\").read(),\n    long_description_content_type=\"text/x-rst\",\n    install_requires=[\"opentelemetry-api==0.1.dev0\"],\n    extras_require={},\n    license=\"Apache-2.0\",\n    package_dir={\"\": \"src\"},\n    packages=setuptools.find_namespace_packages(\n        where=\"src\", include=\"opentelemetry.sdk.*\"\n    ),\n    url=(\n        \"https://github.com/open-telemetry/opentelemetry-python\"\n        \"/tree/master/opentelemetry-sdk\"\n    ),\n    zip_safe=False,\n)\n", "path": "opentelemetry-sdk/setup.py"}]}