prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Transform Markdown on PyPi release
  ### What was wrong?
  
  README is not readable on PyPI: https://pypi.python.org/pypi/web3/1.4.0
  
  `setuptools-markdown` allows to publish README.md on PyPi
  - https://pypi.python.org/pypi/setuptools-markdown
  #### Cute Animal Picture
  
  ![Koala](http://i.imgur.com/Y3FZh.jpg)
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 # -*- coding: utf-8 -*-
  3 import os
  4 import sys
  5 
  6 from setuptools import (
  7     setup,
  8     find_packages,
  9 )
  10 
  11 
  12 DIR = os.path.dirname(os.path.abspath(__file__))
  13 
  14 
  15 readme = open(os.path.join(DIR, 'README.md')).read()
  16 
  17 install_requires = [
  18     "cytoolz>=0.8.2",
  19     "ethereum-abi-utils>=0.4.0",
  20     "ethereum-utils>=0.4.0",
  21     "pylru>=1.0.9",
  22     "pysha3>=0.3",
  23     "requests>=2.12.4",
  24     "rlp>=0.4.7",
  25     "toolz>=0.8.2",
  26 ]
  27 
  28 if sys.platform == 'win32':
  29     install_requires.append('pypiwin32')
  30 
  31 setup(
  32     name='web3',
  33     version='3.13.5',
  34     description="""Web3.py""",
  35     long_description=readme,
  36     author='Piper Merriam',
  37     author_email='pipermerriam@gmail.com',
  38     url='https://github.com/pipermerriam/web3.py',
  39     include_package_data=True,
  40     install_requires=install_requires,
  41     extras_require={
  42         'tester': ["eth-testrpc>=1.2.0"],
  43         'gevent': [
  44             "gevent>=1.1.1,<1.2.0",
  45             "geventhttpclient>=1.3.1",
  46         ],
  47     },
  48     py_modules=['web3'],
  49     license="MIT",
  50     zip_safe=False,
  51     keywords='ethereum',
  52     packages=find_packages(exclude=["tests", "tests.*"]),
  53     classifiers=[
  54         'Development Status :: 2 - Pre-Alpha',
  55         'Intended Audience :: Developers',
  56         'License :: OSI Approved :: MIT License',
  57         'Natural Language :: English',
  58         'Programming Language :: Python :: 2',
  59         'Programming Language :: Python :: 2.7',
  60         'Programming Language :: Python :: 3',
  61         'Programming Language :: Python :: 3.4',
  62         'Programming Language :: Python :: 3.5',
  63     ],
  64 )
  65
  [end of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -32,12 +32,13 @@
       name='web3',
       version='3.13.5',
       description="""Web3.py""",
  -    long_description=readme,
  +    long_description_markdown_filename='README.md',
       author='Piper Merriam',
       author_email='pipermerriam@gmail.com',
       url='https://github.com/pipermerriam/web3.py',
       include_package_data=True,
       install_requires=install_requires,
  +    setup_requires=['setuptools-markdown'],
       extras_require={
           'tester': ["eth-testrpc>=1.2.0"],
           'gevent': [
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -32,12 +32,13 @@\n     name='web3',\n     version='3.13.5',\n     description=\"\"\"Web3.py\"\"\",\n-    long_description=readme,\n+    long_description_markdown_filename='README.md',\n     author='Piper Merriam',\n     author_email='pipermerriam@gmail.com',\n     url='https://github.com/pipermerriam/web3.py',\n     include_package_data=True,\n     install_requires=install_requires,\n+    setup_requires=['setuptools-markdown'],\n     extras_require={\n         'tester': [\"eth-testrpc>=1.2.0\"],\n         'gevent': [\n", "issue": "Transform Markdown on PyPi release\n### What was wrong?\n\nREADME is not readable on PyPI: https://pypi.python.org/pypi/web3/1.4.0\n\n`setuptools-markdown` allows to publish README.md on PyPi\n- https://pypi.python.org/pypi/setuptools-markdown\n#### Cute Animal Picture\n\n![Koala](http://i.imgur.com/Y3FZh.jpg)\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport os\nimport sys\n\nfrom setuptools import (\n    setup,\n    find_packages,\n)\n\n\nDIR = os.path.dirname(os.path.abspath(__file__))\n\n\nreadme = open(os.path.join(DIR, 'README.md')).read()\n\ninstall_requires = [\n    \"cytoolz>=0.8.2\",\n    \"ethereum-abi-utils>=0.4.0\",\n    \"ethereum-utils>=0.4.0\",\n    \"pylru>=1.0.9\",\n    \"pysha3>=0.3\",\n    \"requests>=2.12.4\",\n    \"rlp>=0.4.7\",\n    \"toolz>=0.8.2\",\n]\n\nif sys.platform == 'win32':\n    install_requires.append('pypiwin32')\n\nsetup(\n    name='web3',\n    version='3.13.5',\n    description=\"\"\"Web3.py\"\"\",\n    long_description=readme,\n    author='Piper Merriam',\n    author_email='pipermerriam@gmail.com',\n    url='https://github.com/pipermerriam/web3.py',\n    include_package_data=True,\n    install_requires=install_requires,\n    extras_require={\n        'tester': [\"eth-testrpc>=1.2.0\"],\n        'gevent': [\n            \"gevent>=1.1.1,<1.2.0\",\n            \"geventhttpclient>=1.3.1\",\n        ],\n    },\n    py_modules=['web3'],\n    license=\"MIT\",\n    zip_safe=False,\n    keywords='ethereum',\n    packages=find_packages(exclude=[\"tests\", \"tests.*\"]),\n    classifiers=[\n        'Development Status :: 2 - Pre-Alpha',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: MIT License',\n        'Natural Language :: English',\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    ],\n)\n", "path": "setup.py"}]}