old_contents: #!/usr/bin/env python3
  import os
  from setuptools import setup, find_packages
  from pip.req import parse_requirements
  from pilight2mqtt.const import __version__
  
  PACKAGE_NAME = 'pilight2mqtt'
  HERE = os.path.abspath(os.path.dirname(__file__))
  DOWNLOAD_URL = ('https://github.com/mcdeck/pilight2mqtt/archive'
                  '{}.zip'.format(__version__))
  
  PACKAGES = find_packages(exclude=['tests', 'tests.*'])
  
  
  REQUIRES = [str(ir.req) for ir in parse_requirements('requirements_all.txt', session=False)]
  #[
  #    'requests>=2,<3',
  #    'paho-mqtt=1.2'
  #]
  
  setup(
      name=PACKAGE_NAME,
      version=__version__,
      license='MIT License',
      url='https://www.van-porten.de/projects/pilight2mqtt',
      download_url=DOWNLOAD_URL,
      author='Oliver van Porten',
      author_email='oliver@van-porten.de',
      description='Translate pilight to mqtt.',
      packages=PACKAGES,
      include_package_data=True,
      zip_safe=False,
      platforms='any',
      install_requires=REQUIRES,
      test_suite='tests',
      keywords=['home', 'automation'],
      entry_points={
          'console_scripts': [
              'pilight2mqtt = pilight2mqtt.__main__:main'
          ]
      },
      classifiers=[
          'Intended Audience :: End Users/Desktop',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.4',
          'Topic :: Home Automation'
      ],
  )
  
new_contents: #!/usr/bin/env python3
  import os
  from setuptools import setup, find_packages
  from pilight2mqtt.const import __version__
  
  PACKAGE_NAME = 'pilight2mqtt'
  HERE = os.path.abspath(os.path.dirname(__file__))
  DOWNLOAD_URL = ('https://github.com/mcdeck/pilight2mqtt/archive'
                  '{}.zip'.format(__version__))
  
  PACKAGES = find_packages(exclude=['tests', 'tests.*'])
  
  REQUIRES = [
      'paho-mqtt'
  ]
  
  setup(
      name=PACKAGE_NAME,
      version=__version__,
      license='MIT License',
      url='https://www.van-porten.de/projects/pilight2mqtt',
      download_url=DOWNLOAD_URL,
      author='Oliver van Porten',
      author_email='oliver@van-porten.de',
      description='Translate pilight to mqtt.',
      packages=PACKAGES,
      include_package_data=True,
      zip_safe=False,
      platforms='any',
      install_requires=REQUIRES,
      test_suite='tests',
      keywords=['home', 'automation'],
      entry_points={
          'console_scripts': [
              'pilight2mqtt = pilight2mqtt.__main__:main'
          ]
      },
      classifiers=[
          'Intended Audience :: End Users/Desktop',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.4',
          'Topic :: Home Automation'
      ],
  )
  
subject: add some simple test, fix setup.py