prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Descartes dependency
  In the docs, geopandas lists descartes and matplotlib as optional dependencies. However, descartes is listed as an install_requires in the setup.py.
  
  One of the two should be updated. I'd prefer to be able to pip install geopandas without installing matplotlib.
  
  --- 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 """Installation script
  3 
  4 """
  5 
  6 import os
  7 
  8 try:
  9     from setuptools import setup
  10 except ImportError:
  11     from distutils.core import setup
  12 
  13 import versioneer
  14 
  15 LONG_DESCRIPTION = """GeoPandas is a project to add support for geographic data to
  16 `pandas`_ objects.
  17 
  18 The goal of GeoPandas is to make working with geospatial data in
  19 python easier. It combines the capabilities of `pandas`_ and `shapely`_,
  20 providing geospatial operations in pandas and a high-level interface
  21 to multiple geometries to shapely. GeoPandas enables you to easily do
  22 operations in python that would otherwise require a spatial database
  23 such as PostGIS.
  24 
  25 .. _pandas: http://pandas.pydata.org
  26 .. _shapely: http://toblerity.github.io/shapely
  27 """
  28 
  29 if os.environ.get('READTHEDOCS', False) == 'True':
  30     INSTALL_REQUIRES = []
  31 else:
  32     INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'descartes', 'pyproj']
  33 
  34 # get all data dirs in the datasets module
  35 data_files = []
  36 
  37 for item in os.listdir("geopandas/datasets"):
  38     if not item.startswith('__'):
  39         if os.path.isdir(os.path.join("geopandas/datasets/", item)):
  40             data_files.append(os.path.join("datasets", item, '*'))
  41         elif item.endswith('.zip'):
  42             data_files.append(os.path.join("datasets", item))
  43 
  44 
  45 setup(name='geopandas',
  46       version=versioneer.get_version(),
  47       description='Geographic pandas extensions',
  48       license='BSD',
  49       author='GeoPandas contributors',
  50       author_email='kjordahl@alum.mit.edu',
  51       url='http://geopandas.org',
  52       long_description=LONG_DESCRIPTION,
  53       packages=['geopandas', 'geopandas.io', 'geopandas.tools',
  54                 'geopandas.datasets',
  55                 'geopandas.tests', 'geopandas.tools.tests'],
  56       package_data={'geopandas': data_files},
  57       install_requires=INSTALL_REQUIRES,
  58       cmdclass=versioneer.get_cmdclass())
  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/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -29,7 +29,7 @@
   if os.environ.get('READTHEDOCS', False) == 'True':
       INSTALL_REQUIRES = []
   else:
  -    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'descartes', 'pyproj']
  +    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'pyproj']
   
   # get all data dirs in the datasets module
   data_files = []
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -29,7 +29,7 @@\n if os.environ.get('READTHEDOCS', False) == 'True':\n     INSTALL_REQUIRES = []\n else:\n-    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'descartes', 'pyproj']\n+    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'pyproj']\n \n # get all data dirs in the datasets module\n data_files = []\n", "issue": "Descartes dependency\nIn the docs, geopandas lists descartes and matplotlib as optional dependencies. However, descartes is listed as an install_requires in the setup.py.\r\n\r\nOne of the two should be updated. I'd prefer to be able to pip install geopandas without installing matplotlib.\n", "before_files": [{"content": "#!/usr/bin/env/python\n\"\"\"Installation script\n\n\"\"\"\n\nimport os\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\nimport versioneer\n\nLONG_DESCRIPTION = \"\"\"GeoPandas is a project to add support for geographic data to\n`pandas`_ objects.\n\nThe goal of GeoPandas is to make working with geospatial data in\npython easier. It combines the capabilities of `pandas`_ and `shapely`_,\nproviding geospatial operations in pandas and a high-level interface\nto multiple geometries to shapely. GeoPandas enables you to easily do\noperations in python that would otherwise require a spatial database\nsuch as PostGIS.\n\n.. _pandas: http://pandas.pydata.org\n.. _shapely: http://toblerity.github.io/shapely\n\"\"\"\n\nif os.environ.get('READTHEDOCS', False) == 'True':\n    INSTALL_REQUIRES = []\nelse:\n    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'descartes', 'pyproj']\n\n# get all data dirs in the datasets module\ndata_files = []\n\nfor item in os.listdir(\"geopandas/datasets\"):\n    if not item.startswith('__'):\n        if os.path.isdir(os.path.join(\"geopandas/datasets/\", item)):\n            data_files.append(os.path.join(\"datasets\", item, '*'))\n        elif item.endswith('.zip'):\n            data_files.append(os.path.join(\"datasets\", item))\n\n\nsetup(name='geopandas',\n      version=versioneer.get_version(),\n      description='Geographic pandas extensions',\n      license='BSD',\n      author='GeoPandas contributors',\n      author_email='kjordahl@alum.mit.edu',\n      url='http://geopandas.org',\n      long_description=LONG_DESCRIPTION,\n      packages=['geopandas', 'geopandas.io', 'geopandas.tools',\n                'geopandas.datasets',\n                'geopandas.tests', 'geopandas.tools.tests'],\n      package_data={'geopandas': data_files},\n      install_requires=INSTALL_REQUIRES,\n      cmdclass=versioneer.get_cmdclass())\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env/python\n\"\"\"Installation script\n\n\"\"\"\n\nimport os\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\nimport versioneer\n\nLONG_DESCRIPTION = \"\"\"GeoPandas is a project to add support for geographic data to\n`pandas`_ objects.\n\nThe goal of GeoPandas is to make working with geospatial data in\npython easier. It combines the capabilities of `pandas`_ and `shapely`_,\nproviding geospatial operations in pandas and a high-level interface\nto multiple geometries to shapely. GeoPandas enables you to easily do\noperations in python that would otherwise require a spatial database\nsuch as PostGIS.\n\n.. _pandas: http://pandas.pydata.org\n.. _shapely: http://toblerity.github.io/shapely\n\"\"\"\n\nif os.environ.get('READTHEDOCS', False) == 'True':\n    INSTALL_REQUIRES = []\nelse:\n    INSTALL_REQUIRES = ['pandas', 'shapely', 'fiona', 'pyproj']\n\n# get all data dirs in the datasets module\ndata_files = []\n\nfor item in os.listdir(\"geopandas/datasets\"):\n    if not item.startswith('__'):\n        if os.path.isdir(os.path.join(\"geopandas/datasets/\", item)):\n            data_files.append(os.path.join(\"datasets\", item, '*'))\n        elif item.endswith('.zip'):\n            data_files.append(os.path.join(\"datasets\", item))\n\n\nsetup(name='geopandas',\n      version=versioneer.get_version(),\n      description='Geographic pandas extensions',\n      license='BSD',\n      author='GeoPandas contributors',\n      author_email='kjordahl@alum.mit.edu',\n      url='http://geopandas.org',\n      long_description=LONG_DESCRIPTION,\n      packages=['geopandas', 'geopandas.io', 'geopandas.tools',\n                'geopandas.datasets',\n                'geopandas.tests', 'geopandas.tools.tests'],\n      package_data={'geopandas': data_files},\n      install_requires=INSTALL_REQUIRES,\n      cmdclass=versioneer.get_cmdclass())\n", "path": "setup.py"}]}