prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Remove built dependencies
  This commit removes libsass and Pillow from the setup.py dependency list. This greatly improves install performance and also means that the basic Wagtail installation is pure-python (so no build tools need to be on the end users host machine).
  
  None of these dependencies are directly called from within Wagtail so the start project command continues to work correctly.
  
  
  --- 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 
  3 import sys, os
  4 
  5 from wagtail.wagtailcore import __version__
  6 
  7 
  8 try:
  9     from setuptools import setup, find_packages
  10 except ImportError:
  11     from distutils.core import setup
  12 
  13 
  14 # Hack to prevent "TypeError: 'NoneType' object is not callable" error
  15 # in multiprocessing/util.py _exit_function when setup.py exits
  16 # (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
  17 try:
  18     import multiprocessing
  19 except ImportError:
  20     pass
  21 
  22 
  23 # Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of
  24 # the build process on multicore systems, which breaks installation of libsass
  25 os.environ['MAX_CONCURRENCY'] = '1'
  26 
  27 PY3 = sys.version_info[0] == 3
  28 
  29 
  30 install_requires = [
  31     "Django>=1.7.0,<1.8",
  32     "django-compressor>=1.4",
  33     "django-libsass>=0.2",
  34     "django-modelcluster>=0.5",
  35     "django-taggit==0.12.2",
  36     "django-treebeard==3.0",
  37     "Pillow>=2.6.1",
  38     "beautifulsoup4>=4.3.2",
  39     "html5lib==0.999",
  40     "Unidecode>=0.04.14",
  41     "six>=1.7.0",
  42     'requests>=2.0.0',
  43     "Willow==0.1",
  44 ]
  45 
  46 
  47 if not PY3:
  48     install_requires += [
  49         "unicodecsv>=0.9.4"
  50     ]
  51 
  52 
  53 setup(
  54     name='wagtail',
  55     version=__version__,
  56     description='A Django content management system focused on flexibility and user experience',
  57     author='Matthew Westcott',
  58     author_email='matthew.westcott@torchbox.com',
  59     url='http://wagtail.io/',
  60     packages=find_packages(),
  61     include_package_data=True,
  62     license='BSD',
  63     long_description=open('README.rst').read(),
  64     classifiers=[
  65         'Development Status :: 5 - Production/Stable',
  66         'Environment :: Web Environment',
  67         'Intended Audience :: Developers',
  68         'License :: OSI Approved :: BSD License',
  69         'Operating System :: OS Independent',
  70         'Programming Language :: Python',
  71         'Programming Language :: Python :: 2',
  72         'Programming Language :: Python :: 2.7',
  73         'Programming Language :: Python :: 3',
  74         'Programming Language :: Python :: 3.3',
  75         'Programming Language :: Python :: 3.4',
  76         'Framework :: Django',
  77         'Topic :: Internet :: WWW/HTTP :: Site Management',
  78     ],
  79     install_requires=install_requires,
  80     entry_points="""
  81             [console_scripts]
  82             wagtail=wagtail.bin.wagtail:main
  83     """,
  84     zip_safe=False,
  85 )
  86
  ```
  --- 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
  @@ -30,11 +30,9 @@
   install_requires = [
       "Django>=1.7.0,<1.8",
       "django-compressor>=1.4",
  -    "django-libsass>=0.2",
       "django-modelcluster>=0.5",
       "django-taggit==0.12.2",
       "django-treebeard==3.0",
  -    "Pillow>=2.6.1",
       "beautifulsoup4>=4.3.2",
       "html5lib==0.999",
       "Unidecode>=0.04.14",
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -30,11 +30,9 @@\n install_requires = [\n     \"Django>=1.7.0,<1.8\",\n     \"django-compressor>=1.4\",\n-    \"django-libsass>=0.2\",\n     \"django-modelcluster>=0.5\",\n     \"django-taggit==0.12.2\",\n     \"django-treebeard==3.0\",\n-    \"Pillow>=2.6.1\",\n     \"beautifulsoup4>=4.3.2\",\n     \"html5lib==0.999\",\n     \"Unidecode>=0.04.14\",\n", "issue": "Remove built dependencies\nThis commit removes libsass and Pillow from the setup.py dependency list. This greatly improves install performance and also means that the basic Wagtail installation is pure-python (so no build tools need to be on the end users host machine).\n\nNone of these dependencies are directly called from within Wagtail so the start project command continues to work correctly.\n\n", "before_files": [{"content": "#!/usr/bin/env python\n\nimport sys, os\n\nfrom wagtail.wagtailcore import __version__\n\n\ntry:\n    from setuptools import setup, find_packages\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing\nexcept ImportError:\n    pass\n\n\n# Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of\n# the build process on multicore systems, which breaks installation of libsass\nos.environ['MAX_CONCURRENCY'] = '1'\n\nPY3 = sys.version_info[0] == 3\n\n\ninstall_requires = [\n    \"Django>=1.7.0,<1.8\",\n    \"django-compressor>=1.4\",\n    \"django-libsass>=0.2\",\n    \"django-modelcluster>=0.5\",\n    \"django-taggit==0.12.2\",\n    \"django-treebeard==3.0\",\n    \"Pillow>=2.6.1\",\n    \"beautifulsoup4>=4.3.2\",\n    \"html5lib==0.999\",\n    \"Unidecode>=0.04.14\",\n    \"six>=1.7.0\",\n    'requests>=2.0.0',\n    \"Willow==0.1\",\n]\n\n\nif not PY3:\n    install_requires += [\n        \"unicodecsv>=0.9.4\"\n    ]\n\n\nsetup(\n    name='wagtail',\n    version=__version__,\n    description='A Django content management system focused on flexibility and user experience',\n    author='Matthew Westcott',\n    author_email='matthew.westcott@torchbox.com',\n    url='http://wagtail.io/',\n    packages=find_packages(),\n    include_package_data=True,\n    license='BSD',\n    long_description=open('README.rst').read(),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\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.3',\n        'Programming Language :: Python :: 3.4',\n        'Framework :: Django',\n        'Topic :: Internet :: WWW/HTTP :: Site Management',\n    ],\n    install_requires=install_requires,\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\nimport sys, os\n\nfrom wagtail.wagtailcore import __version__\n\n\ntry:\n    from setuptools import setup, find_packages\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing\nexcept ImportError:\n    pass\n\n\n# Disable parallel builds, because Pillow 2.5.3 does some crazy monkeypatching of\n# the build process on multicore systems, which breaks installation of libsass\nos.environ['MAX_CONCURRENCY'] = '1'\n\nPY3 = sys.version_info[0] == 3\n\n\ninstall_requires = [\n    \"Django>=1.7.0,<1.8\",\n    \"django-compressor>=1.4\",\n    \"django-modelcluster>=0.5\",\n    \"django-taggit==0.12.2\",\n    \"django-treebeard==3.0\",\n    \"beautifulsoup4>=4.3.2\",\n    \"html5lib==0.999\",\n    \"Unidecode>=0.04.14\",\n    \"six>=1.7.0\",\n    'requests>=2.0.0',\n    \"Willow==0.1\",\n]\n\n\nif not PY3:\n    install_requires += [\n        \"unicodecsv>=0.9.4\"\n    ]\n\n\nsetup(\n    name='wagtail',\n    version=__version__,\n    description='A Django content management system focused on flexibility and user experience',\n    author='Matthew Westcott',\n    author_email='matthew.westcott@torchbox.com',\n    url='http://wagtail.io/',\n    packages=find_packages(),\n    include_package_data=True,\n    license='BSD',\n    long_description=open('README.rst').read(),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\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.3',\n        'Programming Language :: Python :: 3.4',\n        'Framework :: Django',\n        'Topic :: Internet :: WWW/HTTP :: Site Management',\n    ],\n    install_requires=install_requires,\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n)\n", "path": "setup.py"}]}