We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
sdist build gets crashed under pip>=19 in dev mode
## Long story short

We have `cython` as an optional dependency. That's why we install it as a pre-requisite in the CI, as a separate step.
New pip creates a separate build virtualenv which doesn't have access to the place with cython installed which causes it to crash.

## Expected behaviour

It succeeds

## Actual behaviour

It tracebacks

## Steps to reproduce

* https://travis-ci.com/aio-libs/aiohttp/jobs/172249543#L198-L219
* https://ci.appveyor.com/project/aio-libs/aiohttp/build/job/uppd0qqw2sbisqtn#L46

## Your environment

Travis CI (doesn't really matter actually)

--- 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 import codecs
2 import pathlib
3 import re
4 import sys
5 from distutils.command.build_ext import build_ext
6 from distutils.errors import (CCompilerError, DistutilsExecError,
7                               DistutilsPlatformError)
8 
9 from setuptools import Extension, setup
10 
11 
12 if sys.version_info < (3, 5, 3):
13     raise RuntimeError("aiohttp 3.x requires Python 3.5.3+")
14 
15 here = pathlib.Path(__file__).parent
16 
17 try:
18     from Cython.Build import cythonize
19     USE_CYTHON = True
20 except ImportError:
21     USE_CYTHON = False
22 
23 if (here / '.git').exists() and not USE_CYTHON:
24     print("Install cython when building from git clone", file=sys.stderr)
25     print("Hint:", file=sys.stderr)
26     print("  pip install cython", file=sys.stderr)
27     sys.exit(1)
28 
29 
30 if (here / '.git').exists() and not (here / 'vendor/http-parser/README.md'):
31     print("Install submodules when building from git clone", file=sys.stderr)
32     print("Hint:", file=sys.stderr)
33     print("  git submodule update --init", file=sys.stderr)
34     sys.exit(2)
35 
36 
37 ext = '.pyx' if USE_CYTHON else '.c'
38 
39 
40 extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket' + ext]),
41               Extension('aiohttp._http_parser',
42                         ['aiohttp/_http_parser' + ext,
43                          'vendor/http-parser/http_parser.c',
44                          'aiohttp/_find_header.c'],
45                         define_macros=[('HTTP_PARSER_STRICT', 0)],
46                         ),
47               Extension('aiohttp._frozenlist',
48                         ['aiohttp/_frozenlist' + ext]),
49               Extension('aiohttp._helpers',
50                         ['aiohttp/_helpers' + ext]),
51               Extension('aiohttp._http_writer',
52                         ['aiohttp/_http_writer' + ext])]
53 
54 
55 if USE_CYTHON:
56     extensions = cythonize(extensions)
57 
58 
59 class BuildFailed(Exception):
60     pass
61 
62 
63 class ve_build_ext(build_ext):
64     # This class allows C extension building to fail.
65 
66     def run(self):
67         try:
68             build_ext.run(self)
69         except (DistutilsPlatformError, FileNotFoundError):
70             raise BuildFailed()
71 
72     def build_extension(self, ext):
73         try:
74             build_ext.build_extension(self, ext)
75         except (CCompilerError, DistutilsExecError,
76                 DistutilsPlatformError, ValueError):
77             raise BuildFailed()
78 
79 
80 
81 txt = (here / 'aiohttp' / '__init__.py').read_text('utf-8')
82 try:
83     version = re.findall(r"^__version__ = '([^']+)'\r?$",
84                          txt, re.M)[0]
85 except IndexError:
86     raise RuntimeError('Unable to determine version.')
87 
88 install_requires = [
89     'attrs>=17.3.0',
90     'chardet>=2.0,<4.0',
91     'multidict>=4.0,<5.0',
92     'async_timeout>=3.0,<4.0',
93     'yarl>=1.0,<2.0',
94     'idna-ssl>=1.0; python_version<"3.7"',
95     'typing_extensions>=3.6.5; python_version<"3.7"',
96 ]
97 
98 
99 def read(f):
100     return (here / f).read_text('utf-8').strip()
101 
102 
103 NEEDS_PYTEST = {'pytest', 'test'}.intersection(sys.argv)
104 pytest_runner = ['pytest-runner'] if NEEDS_PYTEST else []
105 
106 tests_require = [
107     'pytest', 'gunicorn',
108     'pytest-timeout', 'async-generator',
109     'pytest-xdist',
110 ]
111 
112 
113 args = dict(
114     name='aiohttp',
115     version=version,
116     description='Async http client/server framework (asyncio)',
117     long_description='\n\n'.join((read('README.rst'), read('CHANGES.rst'))),
118     classifiers=[
119         'License :: OSI Approved :: Apache Software License',
120         'Intended Audience :: Developers',
121         'Programming Language :: Python',
122         'Programming Language :: Python :: 3',
123         'Programming Language :: Python :: 3.5',
124         'Programming Language :: Python :: 3.6',
125         'Programming Language :: Python :: 3.7',
126         'Development Status :: 5 - Production/Stable',
127         'Operating System :: POSIX',
128         'Operating System :: MacOS :: MacOS X',
129         'Operating System :: Microsoft :: Windows',
130         'Topic :: Internet :: WWW/HTTP',
131         'Framework :: AsyncIO',
132     ],
133     author='Nikolay Kim',
134     author_email='fafhrd91@gmail.com',
135     maintainer=', '.join(('Nikolay Kim <fafhrd91@gmail.com>',
136                           'Andrew Svetlov <andrew.svetlov@gmail.com>')),
137     maintainer_email='aio-libs@googlegroups.com',
138     url='https://github.com/aio-libs/aiohttp',
139     project_urls={
140         'Chat: Gitter': 'https://gitter.im/aio-libs/Lobby',
141         'CI: AppVeyor': 'https://ci.appveyor.com/project/aio-libs/aiohttp',
142         'CI: Circle': 'https://circleci.com/gh/aio-libs/aiohttp',
143         'CI: Shippable': 'https://app.shippable.com/github/aio-libs/aiohttp',
144         'CI: Travis': 'https://travis-ci.com/aio-libs/aiohttp',
145         'Coverage: codecov': 'https://codecov.io/github/aio-libs/aiohttp',
146         'Docs: RTD': 'https://docs.aiohttp.org',
147         'GitHub: issues': 'https://github.com/aio-libs/aiohttp/issues',
148         'GitHub: repo': 'https://github.com/aio-libs/aiohttp',
149     },
150     license='Apache 2',
151     packages=['aiohttp'],
152     python_requires='>=3.5.3',
153     install_requires=install_requires,
154     extras_require={
155         'speedups': [
156             'aiodns',
157             'brotlipy',
158             'cchardet',
159         ],
160     },
161     tests_require=tests_require,
162     setup_requires=pytest_runner,
163     include_package_data=True,
164     ext_modules=extensions,
165     cmdclass=dict(build_ext=ve_build_ext),
166 )
167 
168 try:
169     setup(**args)
170 except BuildFailed:
171     print("************************************************************")
172     print("Cannot compile C accelerator module, use pure python version")
173     print("************************************************************")
174     del args['ext_modules']
175     del args['cmdclass']
176     setup(**args)
177
```
--- 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
@@ -14,18 +14,6 @@
 
 here = pathlib.Path(__file__).parent
 
-try:
-    from Cython.Build import cythonize
-    USE_CYTHON = True
-except ImportError:
-    USE_CYTHON = False
-
-if (here / '.git').exists() and not USE_CYTHON:
-    print("Install cython when building from git clone", file=sys.stderr)
-    print("Hint:", file=sys.stderr)
-    print("  pip install cython", file=sys.stderr)
-    sys.exit(1)
-
 
 if (here / '.git').exists() and not (here / 'vendor/http-parser/README.md'):
     print("Install submodules when building from git clone", file=sys.stderr)
@@ -34,26 +22,21 @@
     sys.exit(2)
 
 
-ext = '.pyx' if USE_CYTHON else '.c'
+# NOTE: makefile cythonizes all Cython modules
 
-
-extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket' + ext]),
+extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket.c']),
               Extension('aiohttp._http_parser',
-                        ['aiohttp/_http_parser' + ext,
+                        ['aiohttp/_http_parser.c',
                          'vendor/http-parser/http_parser.c',
                          'aiohttp/_find_header.c'],
                         define_macros=[('HTTP_PARSER_STRICT', 0)],
                         ),
               Extension('aiohttp._frozenlist',
-                        ['aiohttp/_frozenlist' + ext]),
+                        ['aiohttp/_frozenlist.c']),
               Extension('aiohttp._helpers',
-                        ['aiohttp/_helpers' + ext]),
+                        ['aiohttp/_helpers.c']),
               Extension('aiohttp._http_writer',
-                        ['aiohttp/_http_writer' + ext])]
-
-
-if USE_CYTHON:
-    extensions = cythonize(extensions)
+                        ['aiohttp/_http_writer.c'])]
 
 
 class BuildFailed(Exception):

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -14,18 +14,6 @@\n \n here = pathlib.Path(__file__).parent\n \n-try:\n-    from Cython.Build import cythonize\n-    USE_CYTHON = True\n-except ImportError:\n-    USE_CYTHON = False\n-\n-if (here / '.git').exists() and not USE_CYTHON:\n-    print(\"Install cython when building from git clone\", file=sys.stderr)\n-    print(\"Hint:\", file=sys.stderr)\n-    print(\"  pip install cython\", file=sys.stderr)\n-    sys.exit(1)\n-\n \n if (here / '.git').exists() and not (here / 'vendor/http-parser/README.md'):\n     print(\"Install submodules when building from git clone\", file=sys.stderr)\n@@ -34,26 +22,21 @@\n     sys.exit(2)\n \n \n-ext = '.pyx' if USE_CYTHON else '.c'\n+# NOTE: makefile cythonizes all Cython modules\n \n-\n-extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket' + ext]),\n+extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket.c']),\n               Extension('aiohttp._http_parser',\n-                        ['aiohttp/_http_parser' + ext,\n+                        ['aiohttp/_http_parser.c',\n                          'vendor/http-parser/http_parser.c',\n                          'aiohttp/_find_header.c'],\n                         define_macros=[('HTTP_PARSER_STRICT', 0)],\n                         ),\n               Extension('aiohttp._frozenlist',\n-                        ['aiohttp/_frozenlist' + ext]),\n+                        ['aiohttp/_frozenlist.c']),\n               Extension('aiohttp._helpers',\n-                        ['aiohttp/_helpers' + ext]),\n+                        ['aiohttp/_helpers.c']),\n               Extension('aiohttp._http_writer',\n-                        ['aiohttp/_http_writer' + ext])]\n-\n-\n-if USE_CYTHON:\n-    extensions = cythonize(extensions)\n+                        ['aiohttp/_http_writer.c'])]\n \n \n class BuildFailed(Exception):\n", "issue": "sdist build gets crashed under pip>=19 in dev mode\n## Long story short\r\n\r\nWe have `cython` as an optional dependency. That's why we install it as a pre-requisite in the CI, as a separate step.\r\nNew pip creates a separate build virtualenv which doesn't have access to the place with cython installed which causes it to crash.\r\n\r\n## Expected behaviour\r\n\r\nIt succeeds\r\n\r\n## Actual behaviour\r\n\r\nIt tracebacks\r\n\r\n## Steps to reproduce\r\n\r\n* https://travis-ci.com/aio-libs/aiohttp/jobs/172249543#L198-L219\r\n* https://ci.appveyor.com/project/aio-libs/aiohttp/build/job/uppd0qqw2sbisqtn#L46\r\n\r\n## Your environment\r\n\r\nTravis CI (doesn't really matter actually)\n", "before_files": [{"content": "import codecs\nimport pathlib\nimport re\nimport sys\nfrom distutils.command.build_ext import build_ext\nfrom distutils.errors import (CCompilerError, DistutilsExecError,\n                              DistutilsPlatformError)\n\nfrom setuptools import Extension, setup\n\n\nif sys.version_info < (3, 5, 3):\n    raise RuntimeError(\"aiohttp 3.x requires Python 3.5.3+\")\n\nhere = pathlib.Path(__file__).parent\n\ntry:\n    from Cython.Build import cythonize\n    USE_CYTHON = True\nexcept ImportError:\n    USE_CYTHON = False\n\nif (here / '.git').exists() and not USE_CYTHON:\n    print(\"Install cython when building from git clone\", file=sys.stderr)\n    print(\"Hint:\", file=sys.stderr)\n    print(\"  pip install cython\", file=sys.stderr)\n    sys.exit(1)\n\n\nif (here / '.git').exists() and not (here / 'vendor/http-parser/README.md'):\n    print(\"Install submodules when building from git clone\", file=sys.stderr)\n    print(\"Hint:\", file=sys.stderr)\n    print(\"  git submodule update --init\", file=sys.stderr)\n    sys.exit(2)\n\n\next = '.pyx' if USE_CYTHON else '.c'\n\n\nextensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket' + ext]),\n              Extension('aiohttp._http_parser',\n                        ['aiohttp/_http_parser' + ext,\n                         'vendor/http-parser/http_parser.c',\n                         'aiohttp/_find_header.c'],\n                        define_macros=[('HTTP_PARSER_STRICT', 0)],\n                        ),\n              Extension('aiohttp._frozenlist',\n                        ['aiohttp/_frozenlist' + ext]),\n              Extension('aiohttp._helpers',\n                        ['aiohttp/_helpers' + ext]),\n              Extension('aiohttp._http_writer',\n                        ['aiohttp/_http_writer' + ext])]\n\n\nif USE_CYTHON:\n    extensions = cythonize(extensions)\n\n\nclass BuildFailed(Exception):\n    pass\n\n\nclass ve_build_ext(build_ext):\n    # This class allows C extension building to fail.\n\n    def run(self):\n        try:\n            build_ext.run(self)\n        except (DistutilsPlatformError, FileNotFoundError):\n            raise BuildFailed()\n\n    def build_extension(self, ext):\n        try:\n            build_ext.build_extension(self, ext)\n        except (CCompilerError, DistutilsExecError,\n                DistutilsPlatformError, ValueError):\n            raise BuildFailed()\n\n\n\ntxt = (here / 'aiohttp' / '__init__.py').read_text('utf-8')\ntry:\n    version = re.findall(r\"^__version__ = '([^']+)'\\r?$\",\n                         txt, re.M)[0]\nexcept IndexError:\n    raise RuntimeError('Unable to determine version.')\n\ninstall_requires = [\n    'attrs>=17.3.0',\n    'chardet>=2.0,<4.0',\n    'multidict>=4.0,<5.0',\n    'async_timeout>=3.0,<4.0',\n    'yarl>=1.0,<2.0',\n    'idna-ssl>=1.0; python_version<\"3.7\"',\n    'typing_extensions>=3.6.5; python_version<\"3.7\"',\n]\n\n\ndef read(f):\n    return (here / f).read_text('utf-8').strip()\n\n\nNEEDS_PYTEST = {'pytest', 'test'}.intersection(sys.argv)\npytest_runner = ['pytest-runner'] if NEEDS_PYTEST else []\n\ntests_require = [\n    'pytest', 'gunicorn',\n    'pytest-timeout', 'async-generator',\n    'pytest-xdist',\n]\n\n\nargs = dict(\n    name='aiohttp',\n    version=version,\n    description='Async http client/server framework (asyncio)',\n    long_description='\\n\\n'.join((read('README.rst'), read('CHANGES.rst'))),\n    classifiers=[\n        'License :: OSI Approved :: Apache Software License',\n        'Intended Audience :: Developers',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Development Status :: 5 - Production/Stable',\n        'Operating System :: POSIX',\n        'Operating System :: MacOS :: MacOS X',\n        'Operating System :: Microsoft :: Windows',\n        'Topic :: Internet :: WWW/HTTP',\n        'Framework :: AsyncIO',\n    ],\n    author='Nikolay Kim',\n    author_email='fafhrd91@gmail.com',\n    maintainer=', '.join(('Nikolay Kim <fafhrd91@gmail.com>',\n                          'Andrew Svetlov <andrew.svetlov@gmail.com>')),\n    maintainer_email='aio-libs@googlegroups.com',\n    url='https://github.com/aio-libs/aiohttp',\n    project_urls={\n        'Chat: Gitter': 'https://gitter.im/aio-libs/Lobby',\n        'CI: AppVeyor': 'https://ci.appveyor.com/project/aio-libs/aiohttp',\n        'CI: Circle': 'https://circleci.com/gh/aio-libs/aiohttp',\n        'CI: Shippable': 'https://app.shippable.com/github/aio-libs/aiohttp',\n        'CI: Travis': 'https://travis-ci.com/aio-libs/aiohttp',\n        'Coverage: codecov': 'https://codecov.io/github/aio-libs/aiohttp',\n        'Docs: RTD': 'https://docs.aiohttp.org',\n        'GitHub: issues': 'https://github.com/aio-libs/aiohttp/issues',\n        'GitHub: repo': 'https://github.com/aio-libs/aiohttp',\n    },\n    license='Apache 2',\n    packages=['aiohttp'],\n    python_requires='>=3.5.3',\n    install_requires=install_requires,\n    extras_require={\n        'speedups': [\n            'aiodns',\n            'brotlipy',\n            'cchardet',\n        ],\n    },\n    tests_require=tests_require,\n    setup_requires=pytest_runner,\n    include_package_data=True,\n    ext_modules=extensions,\n    cmdclass=dict(build_ext=ve_build_ext),\n)\n\ntry:\n    setup(**args)\nexcept BuildFailed:\n    print(\"************************************************************\")\n    print(\"Cannot compile C accelerator module, use pure python version\")\n    print(\"************************************************************\")\n    del args['ext_modules']\n    del args['cmdclass']\n    setup(**args)\n", "path": "setup.py"}], "after_files": [{"content": "import codecs\nimport pathlib\nimport re\nimport sys\nfrom distutils.command.build_ext import build_ext\nfrom distutils.errors import (CCompilerError, DistutilsExecError,\n                              DistutilsPlatformError)\n\nfrom setuptools import Extension, setup\n\n\nif sys.version_info < (3, 5, 3):\n    raise RuntimeError(\"aiohttp 3.x requires Python 3.5.3+\")\n\nhere = pathlib.Path(__file__).parent\n\n\nif (here / '.git').exists() and not (here / 'vendor/http-parser/README.md'):\n    print(\"Install submodules when building from git clone\", file=sys.stderr)\n    print(\"Hint:\", file=sys.stderr)\n    print(\"  git submodule update --init\", file=sys.stderr)\n    sys.exit(2)\n\n\n# NOTE: makefile cythonizes all Cython modules\n\nextensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket.c']),\n              Extension('aiohttp._http_parser',\n                        ['aiohttp/_http_parser.c',\n                         'vendor/http-parser/http_parser.c',\n                         'aiohttp/_find_header.c'],\n                        define_macros=[('HTTP_PARSER_STRICT', 0)],\n                        ),\n              Extension('aiohttp._frozenlist',\n                        ['aiohttp/_frozenlist.c']),\n              Extension('aiohttp._helpers',\n                        ['aiohttp/_helpers.c']),\n              Extension('aiohttp._http_writer',\n                        ['aiohttp/_http_writer.c'])]\n\n\nclass BuildFailed(Exception):\n    pass\n\n\nclass ve_build_ext(build_ext):\n    # This class allows C extension building to fail.\n\n    def run(self):\n        try:\n            build_ext.run(self)\n        except (DistutilsPlatformError, FileNotFoundError):\n            raise BuildFailed()\n\n    def build_extension(self, ext):\n        try:\n            build_ext.build_extension(self, ext)\n        except (CCompilerError, DistutilsExecError,\n                DistutilsPlatformError, ValueError):\n            raise BuildFailed()\n\n\n\ntxt = (here / 'aiohttp' / '__init__.py').read_text('utf-8')\ntry:\n    version = re.findall(r\"^__version__ = '([^']+)'\\r?$\",\n                         txt, re.M)[0]\nexcept IndexError:\n    raise RuntimeError('Unable to determine version.')\n\ninstall_requires = [\n    'attrs>=17.3.0',\n    'chardet>=2.0,<4.0',\n    'multidict>=4.0,<5.0',\n    'async_timeout>=3.0,<4.0',\n    'yarl>=1.0,<2.0',\n    'idna-ssl>=1.0; python_version<\"3.7\"',\n    'typing_extensions>=3.6.5; python_version<\"3.7\"',\n]\n\n\ndef read(f):\n    return (here / f).read_text('utf-8').strip()\n\n\nNEEDS_PYTEST = {'pytest', 'test'}.intersection(sys.argv)\npytest_runner = ['pytest-runner'] if NEEDS_PYTEST else []\n\ntests_require = [\n    'pytest', 'gunicorn',\n    'pytest-timeout', 'async-generator',\n    'pytest-xdist',\n]\n\n\nargs = dict(\n    name='aiohttp',\n    version=version,\n    description='Async http client/server framework (asyncio)',\n    long_description='\\n\\n'.join((read('README.rst'), read('CHANGES.rst'))),\n    classifiers=[\n        'License :: OSI Approved :: Apache Software License',\n        'Intended Audience :: Developers',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Development Status :: 5 - Production/Stable',\n        'Operating System :: POSIX',\n        'Operating System :: MacOS :: MacOS X',\n        'Operating System :: Microsoft :: Windows',\n        'Topic :: Internet :: WWW/HTTP',\n        'Framework :: AsyncIO',\n    ],\n    author='Nikolay Kim',\n    author_email='fafhrd91@gmail.com',\n    maintainer=', '.join(('Nikolay Kim <fafhrd91@gmail.com>',\n                          'Andrew Svetlov <andrew.svetlov@gmail.com>')),\n    maintainer_email='aio-libs@googlegroups.com',\n    url='https://github.com/aio-libs/aiohttp',\n    project_urls={\n        'Chat: Gitter': 'https://gitter.im/aio-libs/Lobby',\n        'CI: AppVeyor': 'https://ci.appveyor.com/project/aio-libs/aiohttp',\n        'CI: Circle': 'https://circleci.com/gh/aio-libs/aiohttp',\n        'CI: Shippable': 'https://app.shippable.com/github/aio-libs/aiohttp',\n        'CI: Travis': 'https://travis-ci.com/aio-libs/aiohttp',\n        'Coverage: codecov': 'https://codecov.io/github/aio-libs/aiohttp',\n        'Docs: RTD': 'https://docs.aiohttp.org',\n        'GitHub: issues': 'https://github.com/aio-libs/aiohttp/issues',\n        'GitHub: repo': 'https://github.com/aio-libs/aiohttp',\n    },\n    license='Apache 2',\n    packages=['aiohttp'],\n    python_requires='>=3.5.3',\n    install_requires=install_requires,\n    extras_require={\n        'speedups': [\n            'aiodns',\n            'brotlipy',\n            'cchardet',\n        ],\n    },\n    tests_require=tests_require,\n    setup_requires=pytest_runner,\n    include_package_data=True,\n    ext_modules=extensions,\n    cmdclass=dict(build_ext=ve_build_ext),\n)\n\ntry:\n    setup(**args)\nexcept BuildFailed:\n    print(\"************************************************************\")\n    print(\"Cannot compile C accelerator module, use pure python version\")\n    print(\"************************************************************\")\n    del args['ext_modules']\n    del args['cmdclass']\n    setup(**args)\n", "path": "setup.py"}]}