prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Published packages include docs/ as a module
  The published wheel and sdist on PyPI for at least version 0.7.5 include `docs/__init__.py` as a top-level module in addition to `faker`. This conflicts with some other packages we use (PyICU) and seems like bad package hygiene, especially since the `docs` dir in this repository is definitely not a module. My guess is that a `__init__.py` made it in there on the maintainer's machine before running `setup.py` and it was erroneously discovered as a module.
  
  We're going to republish the package to our own internal repository, but I think it would help the community to `git clean` as necessary and re-publish a new version, and consider adding necessary exclusions to the `setup.py` or `MANIFEST.in`.
  
  --- 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 #!/usr/bin/env python
  2 # coding=utf-8
  3 
  4 import os
  5 import io
  6 
  7 from setuptools import setup, find_packages
  8 
  9 here = os.path.abspath(os.path.dirname(__file__))
  10 README = io.open(os.path.join(here, 'README.rst'), encoding="utf8").read()
  11 
  12 
  13 version = '0.7.5'
  14 
  15 # this module can be zip-safe if the zipimporter implements iter_modules or if
  16 # pkgutil.iter_importer_modules has registered a dispatch for the zipimporter.
  17 try:
  18     import pkgutil
  19     import zipimport
  20     zip_safe = hasattr(zipimport.zipimporter, "iter_modules") or \
  21         zipimport.zipimporter in pkgutil.iter_importer_modules.registry.keys()
  22 except (ImportError, AttributeError):
  23     zip_safe = False
  24 
  25 setup(
  26     name='Faker',
  27     version=version,
  28     description="Faker is a Python package that generates fake data for you.",
  29     long_description=README,
  30     entry_points={
  31         'console_scripts': ['faker=faker.cli:execute_from_command_line'],
  32     },
  33     classifiers=[
  34         # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  35         'Development Status :: 3 - Alpha',
  36         'Environment :: Console',
  37         'Intended Audience :: Developers',
  38         'Programming Language :: Python',
  39         'Programming Language :: Python :: 2',
  40         'Programming Language :: Python :: 2.7',
  41         'Programming Language :: Python :: 3',
  42         'Programming Language :: Python :: 3.4',
  43         'Programming Language :: Python :: 3.5',
  44         'Topic :: Software Development :: Libraries :: Python Modules',
  45         'Topic :: Software Development :: Testing',
  46         'Topic :: Utilities',
  47         'License :: OSI Approved :: MIT License'
  48     ],
  49     keywords='faker fixtures data test mock generator',
  50     author='joke2k',
  51     author_email='joke2k@gmail.com',
  52     url='https://github.com/joke2k/faker',
  53     license='MIT License',
  54     packages=find_packages(),
  55     platforms=["any"],
  56     test_suite='faker.tests',
  57     zip_safe=zip_safe,
  58     install_requires=[
  59         "python-dateutil>=2.4",
  60         "six",
  61     ],
  62     extras_require={
  63         ':python_version=="2.7"': [
  64             'ipaddress',
  65         ],
  66         ':python_version=="3.0"': [
  67             'importlib',
  68         ],
  69         ':python_version=="3.2"': [
  70             'ipaddress',
  71         ],
  72     }
  73 )
  74
  ```
  --- 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/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -51,7 +51,7 @@
       author_email='joke2k@gmail.com',
       url='https://github.com/joke2k/faker',
       license='MIT License',
  -    packages=find_packages(),
  +    packages=find_packages(exclude=("docs",)),
       platforms=["any"],
       test_suite='faker.tests',
       zip_safe=zip_safe,
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -51,7 +51,7 @@\n     author_email='joke2k@gmail.com',\n     url='https://github.com/joke2k/faker',\n     license='MIT License',\n-    packages=find_packages(),\n+    packages=find_packages(exclude=(\"docs\",)),\n     platforms=[\"any\"],\n     test_suite='faker.tests',\n     zip_safe=zip_safe,\n", "issue": "Published packages include docs/ as a module\nThe published wheel and sdist on PyPI for at least version 0.7.5 include `docs/__init__.py` as a top-level module in addition to `faker`. This conflicts with some other packages we use (PyICU) and seems like bad package hygiene, especially since the `docs` dir in this repository is definitely not a module. My guess is that a `__init__.py` made it in there on the maintainer's machine before running `setup.py` and it was erroneously discovered as a module.\r\n\r\nWe're going to republish the package to our own internal repository, but I think it would help the community to `git clean` as necessary and re-publish a new version, and consider adding necessary exclusions to the `setup.py` or `MANIFEST.in`.\n", "before_files": [{"content": "#!/usr/bin/env python\n# coding=utf-8\n\nimport os\nimport io\n\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = io.open(os.path.join(here, 'README.rst'), encoding=\"utf8\").read()\n\n\nversion = '0.7.5'\n\n# this module can be zip-safe if the zipimporter implements iter_modules or if\n# pkgutil.iter_importer_modules has registered a dispatch for the zipimporter.\ntry:\n    import pkgutil\n    import zipimport\n    zip_safe = hasattr(zipimport.zipimporter, \"iter_modules\") or \\\n        zipimport.zipimporter in pkgutil.iter_importer_modules.registry.keys()\nexcept (ImportError, AttributeError):\n    zip_safe = False\n\nsetup(\n    name='Faker',\n    version=version,\n    description=\"Faker is a Python package that generates fake data for you.\",\n    long_description=README,\n    entry_points={\n        'console_scripts': ['faker=faker.cli:execute_from_command_line'],\n    },\n    classifiers=[\n        # See https://pypi.python.org/pypi?%3Aaction=list_classifiers\n        'Development Status :: 3 - Alpha',\n        'Environment :: Console',\n        'Intended Audience :: Developers',\n        'Programming Language :: Python',\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        'Topic :: Software Development :: Libraries :: Python Modules',\n        'Topic :: Software Development :: Testing',\n        'Topic :: Utilities',\n        'License :: OSI Approved :: MIT License'\n    ],\n    keywords='faker fixtures data test mock generator',\n    author='joke2k',\n    author_email='joke2k@gmail.com',\n    url='https://github.com/joke2k/faker',\n    license='MIT License',\n    packages=find_packages(),\n    platforms=[\"any\"],\n    test_suite='faker.tests',\n    zip_safe=zip_safe,\n    install_requires=[\n        \"python-dateutil>=2.4\",\n        \"six\",\n    ],\n    extras_require={\n        ':python_version==\"2.7\"': [\n            'ipaddress',\n        ],\n        ':python_version==\"3.0\"': [\n            'importlib',\n        ],\n        ':python_version==\"3.2\"': [\n            'ipaddress',\n        ],\n    }\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# coding=utf-8\n\nimport os\nimport io\n\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\nREADME = io.open(os.path.join(here, 'README.rst'), encoding=\"utf8\").read()\n\n\nversion = '0.7.5'\n\n# this module can be zip-safe if the zipimporter implements iter_modules or if\n# pkgutil.iter_importer_modules has registered a dispatch for the zipimporter.\ntry:\n    import pkgutil\n    import zipimport\n    zip_safe = hasattr(zipimport.zipimporter, \"iter_modules\") or \\\n        zipimport.zipimporter in pkgutil.iter_importer_modules.registry.keys()\nexcept (ImportError, AttributeError):\n    zip_safe = False\n\nsetup(\n    name='Faker',\n    version=version,\n    description=\"Faker is a Python package that generates fake data for you.\",\n    long_description=README,\n    entry_points={\n        'console_scripts': ['faker=faker.cli:execute_from_command_line'],\n    },\n    classifiers=[\n        # See https://pypi.python.org/pypi?%3Aaction=list_classifiers\n        'Development Status :: 3 - Alpha',\n        'Environment :: Console',\n        'Intended Audience :: Developers',\n        'Programming Language :: Python',\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        'Topic :: Software Development :: Libraries :: Python Modules',\n        'Topic :: Software Development :: Testing',\n        'Topic :: Utilities',\n        'License :: OSI Approved :: MIT License'\n    ],\n    keywords='faker fixtures data test mock generator',\n    author='joke2k',\n    author_email='joke2k@gmail.com',\n    url='https://github.com/joke2k/faker',\n    license='MIT License',\n    packages=find_packages(exclude=(\"docs\",)),\n    platforms=[\"any\"],\n    test_suite='faker.tests',\n    zip_safe=zip_safe,\n    install_requires=[\n        \"python-dateutil>=2.4\",\n        \"six\",\n    ],\n    extras_require={\n        ':python_version==\"2.7\"': [\n            'ipaddress',\n        ],\n        ':python_version==\"3.0\"': [\n            'importlib',\n        ],\n        ':python_version==\"3.2\"': [\n            'ipaddress',\n        ],\n    }\n)\n", "path": "setup.py"}]}