old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from setuptools import setup
  from spec_cleaner import __version__
  
  setup(
      name='spec_cleaner',
      description = 'RPM .spec files cleaner',
      long_description = 'Command-line tool for cleaning various formatting' +
          'errors in RPM .spec files',
      url = 'https://github.com/openSUSE/spec-cleaner',
      download_url = 'https://github.com/openSUSE/spec-cleaner',
  
      version = __version__,
  
      author = 'Tomáš Chvátal',
      author_email = 'tchvatal@suse.cz',
  
      maintainer = 'Tomáš Chvátal',
      maintainer_email = 'tchvatal@suse.cz',
  
      license = 'License :: OSI Approved :: BSD License',
      platforms = ['Linux'],
      keywords = ['SUSE', 'RPM', '.spec', 'cleaner'],
  
      packages = ['spec_cleaner'],
      package_data = {'spec_cleaner' : [ "data/*.txt" ]},
  
      data_files=[('/usr/libexec/obs/service/', ['obs/*'])],
  
      entry_points = {
          'console_scripts': ['spec-cleaner = spec_cleaner.main:main']},
  )
  
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from setuptools import setup
  from spec_cleaner import __version__
  
  test_requires = [
      'mock',
      'nose',
  ]
  
  setup(
      name='spec_cleaner',
      description = 'RPM .spec files cleaner',
      long_description = 'Command-line tool for cleaning various formatting' +
          'errors in RPM .spec files',
      url = 'https://github.com/openSUSE/spec-cleaner',
      download_url = 'https://github.com/openSUSE/spec-cleaner',
  
      version = __version__,
  
      author = 'Tomáš Chvátal',
      author_email = 'tchvatal@suse.cz',
  
      maintainer = 'Tomáš Chvátal',
      maintainer_email = 'tchvatal@suse.cz',
  
      license = 'License :: OSI Approved :: BSD License',
      platforms = ['Linux'],
      keywords = ['SUSE', 'RPM', '.spec', 'cleaner'],
  
      tests_require=test_requires,
      test_suite="nose.collector",
  
      packages = ['spec_cleaner'],
      package_data = {'spec_cleaner' : [ "data/*.txt" ]},
  
      data_files=[('/usr/libexec/obs/service/', ['obs/*'])],
  
      entry_points = {
          'console_scripts': ['spec-cleaner = spec_cleaner.main:main']},
  )
  
  
subject: Add setup.py test possibility with dependencies.