prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Add Package to PyPi
  
  
  </issue>
  <code>
  [start of setup.py]
  1 from setuptools import setup
  2 
  3 setup(
  4     name='pybotics',
  5     version='0.1.3',
  6     packages=['examples', 'pybotics', 'tests'],
  7     url='https://github.com/nnadeau/pybotics',
  8     license='MIT',
  9     author='Nicholas Nadeau',
  10     author_email='',
  11     description='Python Toolbox for Robotics',
  12     setup_requires=['pytest-runner'],
  13     tests_require=['pytest']
  14 )
  15
  [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
  @@ -1,14 +1,59 @@
  +import pypandoc
   from setuptools import setup
  +import os
  +import git
  +
  +# tag version
  +repo = git.Repo(os.getcwd())
  +tag = repo.tags[-1]
  +version = tag.name
  +
  +# requirements
  +with open('requirements.txt') as f:
  +    requirements = f.read().splitlines()
  +
  +# long description
  +# TODO: pypandoc.convert() function returns wrong RST format, but saving/loading a file works
  +file_path = os.path.abspath(os.path.dirname(__file__))
  +pypandoc.convert_file('README.md', 'rst', outputfile=os.path.join(file_path, 'README.rst'))
  +with open(os.path.join(file_path, 'README.rst'), encoding='utf-8') as f:
  +    description = f.read()
   
   setup(
       name='pybotics',
  -    version='0.1.3',
  -    packages=['examples', 'pybotics', 'tests'],
  +    version=version,
  +    packages=['pybotics'],
       url='https://github.com/nnadeau/pybotics',
       license='MIT',
       author='Nicholas Nadeau',
  -    author_email='',
  +    author_email='nicholas.nadeau@gmail.com',
       description='Python Toolbox for Robotics',
  +    long_description=description,
  +    install_requires=requirements,
       setup_requires=['pytest-runner'],
  -    tests_require=['pytest']
  +    tests_require=['pytest'],
  +    classifiers=[
  +        'Development Status :: 4 - Beta',
  +        'Intended Audience :: Developers',
  +        'Intended Audience :: Education',
  +        'Intended Audience :: End Users/Desktop',
  +        'Intended Audience :: Manufacturing',
  +        'Intended Audience :: Science/Research',
  +        'Topic :: Education',
  +        'Topic :: Scientific/Engineering',
  +        'Topic :: Scientific/Engineering :: Artificial Intelligence',
  +        'Topic :: Scientific/Engineering :: Human Machine Interfaces',
  +        'Topic :: Scientific/Engineering :: Mathematics',
  +        'Topic :: Scientific/Engineering :: Physics',
  +        'Topic :: Utilities',
  +        'License :: OSI Approved :: MIT License',
  +        'Programming Language :: Python :: 3 :: Only',
  +        'Programming Language :: Python :: 3',
  +        'Programming Language :: Python :: 3.2',
  +        'Programming Language :: Python :: 3.3',
  +        'Programming Language :: Python :: 3.4',
  +        'Programming Language :: Python :: 3.5',
  +        'Programming Language :: Python :: 3.6',
  +    ],
  +    keywords='python robot robotics research automation kinematics geometry',
   )
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,14 +1,59 @@\n+import pypandoc\n from setuptools import setup\n+import os\n+import git\n+\n+# tag version\n+repo = git.Repo(os.getcwd())\n+tag = repo.tags[-1]\n+version = tag.name\n+\n+# requirements\n+with open('requirements.txt') as f:\n+    requirements = f.read().splitlines()\n+\n+# long description\n+# TODO: pypandoc.convert() function returns wrong RST format, but saving/loading a file works\n+file_path = os.path.abspath(os.path.dirname(__file__))\n+pypandoc.convert_file('README.md', 'rst', outputfile=os.path.join(file_path, 'README.rst'))\n+with open(os.path.join(file_path, 'README.rst'), encoding='utf-8') as f:\n+    description = f.read()\n \n setup(\n     name='pybotics',\n-    version='0.1.3',\n-    packages=['examples', 'pybotics', 'tests'],\n+    version=version,\n+    packages=['pybotics'],\n     url='https://github.com/nnadeau/pybotics',\n     license='MIT',\n     author='Nicholas Nadeau',\n-    author_email='',\n+    author_email='nicholas.nadeau@gmail.com',\n     description='Python Toolbox for Robotics',\n+    long_description=description,\n+    install_requires=requirements,\n     setup_requires=['pytest-runner'],\n-    tests_require=['pytest']\n+    tests_require=['pytest'],\n+    classifiers=[\n+        'Development Status :: 4 - Beta',\n+        'Intended Audience :: Developers',\n+        'Intended Audience :: Education',\n+        'Intended Audience :: End Users/Desktop',\n+        'Intended Audience :: Manufacturing',\n+        'Intended Audience :: Science/Research',\n+        'Topic :: Education',\n+        'Topic :: Scientific/Engineering',\n+        'Topic :: Scientific/Engineering :: Artificial Intelligence',\n+        'Topic :: Scientific/Engineering :: Human Machine Interfaces',\n+        'Topic :: Scientific/Engineering :: Mathematics',\n+        'Topic :: Scientific/Engineering :: Physics',\n+        'Topic :: Utilities',\n+        'License :: OSI Approved :: MIT License',\n+        'Programming Language :: Python :: 3 :: Only',\n+        'Programming Language :: Python :: 3',\n+        'Programming Language :: Python :: 3.2',\n+        'Programming Language :: Python :: 3.3',\n+        'Programming Language :: Python :: 3.4',\n+        'Programming Language :: Python :: 3.5',\n+        'Programming Language :: Python :: 3.6',\n+    ],\n+    keywords='python robot robotics research automation kinematics geometry',\n )\n", "issue": "Add Package to PyPi\n\n", "before_files": [{"content": "from setuptools import setup\n\nsetup(\n    name='pybotics',\n    version='0.1.3',\n    packages=['examples', 'pybotics', 'tests'],\n    url='https://github.com/nnadeau/pybotics',\n    license='MIT',\n    author='Nicholas Nadeau',\n    author_email='',\n    description='Python Toolbox for Robotics',\n    setup_requires=['pytest-runner'],\n    tests_require=['pytest']\n)\n", "path": "setup.py"}]}