old_contents: from setuptools import setup, find_packages
  import os
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  
  def read_file(path_segments):
      """Read a file from the package. Takes a list of strings to join to
      make the path"""
      file_path = os.path.join(here, *path_segments)
      with open(file_path) as f:
          return f.read()
  
  
  def exec_file(path_segments):
      """Execute a single python file to get
      the variables defined in it"""
      result = {}
      code = read_file(path_segments)
      exec(code, result)
      return result
  
  version = exec_file(("matrixbot", "__init__.py"))["__version__"]
  
  long_description = ""
  try:
      long_description = file('README.md').read()
  except Exception:
      pass
  
  license = ""
  try:
      license = file('LICENSE').read()
  except Exception:
      pass
  
  
  setup(
      name='matrix-bot',
      version=version,
      description='A matrix.org bot',
      author='Pablo Saavedra',
      author_email='saavedra.pablo@gmail.com',
      url='http://github.com/psaavedra/matrix-bot',
      packages=find_packages(),
      package_data={
          "matrixbot": [
              "../cfg/matrix-bot.cfg.example",
              "../cfg/echo-test-template.cfg"
          ]
      },
      scripts=[
          "tools/matrix-bot",
          "tools/matrix-subscriber",
          "tools/matrix-echo",
      ],
      zip_safe=False,
      install_requires=[
          "getconf==1.5.1",
          "matrix-client==0.0.6",
          "python-ldap==3.1.0",
          "python-memcached==1.59",
          "feedparser==5.2.1",
          "pytz==2018.9",
          "requests==2.21.0",
      ],
  
      download_url='https://github.com/psaavedra/matrix-bot/zipball/master',
      classifiers=[
          "Development Status :: 2 - Pre-Alpha",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python",
          "Topic :: Communications :: Chat",
      ],
      long_description=long_description,
      license=license,
      keywords="python matrix bot matrix-python-sdk",
  )
  
new_contents: from setuptools import setup, find_packages
  import os
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  
  def read_file(path_segments):
      """Read a file from the package. Takes a list of strings to join to
      make the path"""
      file_path = os.path.join(here, *path_segments)
      with open(file_path) as f:
          return f.read()
  
  
  def exec_file(path_segments):
      """Execute a single python file to get
      the variables defined in it"""
      result = {}
      code = read_file(path_segments)
      exec(code, result)
      return result
  
  version = exec_file(("matrixbot", "__init__.py"))["__version__"]
  
  long_description = ""
  try:
      long_description = file('README.md').read()
  except Exception:
      pass
  
  license = ""
  try:
      license = file('LICENSE').read()
  except Exception:
      pass
  
  
  setup(
      name='matrix-bot',
      version=version,
      description='A matrix.org bot',
      author='Pablo Saavedra',
      author_email='saavedra.pablo@gmail.com',
      url='http://github.com/psaavedra/matrix-bot',
      packages=find_packages(),
      package_data={
          "matrixbot": [
              "../cfg/matrix-bot.cfg.example",
              "../cfg/echo-test-template.cfg"
          ]
      },
      scripts=[
          "tools/matrix-bot",
          "tools/matrix-subscriber",
          "tools/matrix-echo",
      ],
      zip_safe=False,
      install_requires=[
          "getconf==1.5.1",
          "matrix-client==0.0.6",
          "python-ldap==3.1.0",
          "python-memcached==1.59",
          "feedparser==5.2.1",
          "pytz==2018.9",
          "requests==2.21.0",
          "python-dateutil==2.8.1",
      ],
  
      download_url='https://github.com/psaavedra/matrix-bot/zipball/master',
      classifiers=[
          "Development Status :: 2 - Pre-Alpha",
          "License :: OSI Approved :: MIT License",
          "Programming Language :: Python",
          "Topic :: Communications :: Chat",
      ],
      long_description=long_description,
      license=license,
      keywords="python matrix bot matrix-python-sdk",
  )
  
subject: Add python-dateutil==2.8.1 dependency