prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add Package to PyPi
  
  
  --- 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 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 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
  @@ -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"}], "after_files": [{"content": "import pypandoc\nfrom setuptools import setup\nimport os\nimport git\n\n# tag version\nrepo = git.Repo(os.getcwd())\ntag = repo.tags[-1]\nversion = tag.name\n\n# requirements\nwith 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\nfile_path = os.path.abspath(os.path.dirname(__file__))\npypandoc.convert_file('README.md', 'rst', outputfile=os.path.join(file_path, 'README.rst'))\nwith open(os.path.join(file_path, 'README.rst'), encoding='utf-8') as f:\n    description = f.read()\n\nsetup(\n    name='pybotics',\n    version=version,\n    packages=['pybotics'],\n    url='https://github.com/nnadeau/pybotics',\n    license='MIT',\n    author='Nicholas Nadeau',\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    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", "path": "setup.py"}]}