old_contents: #!/usr/bin/env python
  import re
  import codecs
  
  from setuptools import setup
  from setuptools.command.test import test as TestCommand
  
  
  class NoseTestCommand(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = []
          self.test_suite = True
  
      def run_tests(self):
          # Run nose ensuring that argv simulates running nosetests directly
          import nose
          nose.run_exit(argv=['nosetests'])
  
  
  setup(
      name = 'smeterd',
      description = 'Read smart meter P1 packets',
      version = re.search(r'''^__version__\s*=\s*["'](.*)["']''', open('smeterd/__init__.py').read(), re.M).group(1),
      author = 'Nico Di Rocco',
      author_email = 'dirocco.nico@gmail.com',
      url = 'http://nrocco.github.io/',
      license = 'GPLv3',
      long_description = codecs.open('README.rst', 'rb', 'utf-8').read(),
      test_suite='nose.collector',
      download_url = 'http://github.com/nrocco/smeterd/tags',
      include_package_data = True,
      install_requires = [
          'pyserial>=2.7',
          'pycli-tools>=2.0.1',
      ],
      tests_require = [
          'nose',
          'mock',
          'coverage',
      ],
      packages = [
          'smeterd'
      ],
      entry_points = {
          'console_scripts': [
              'smeterd = smeterd.command:parse_and_run',
          ]
      },
      classifiers = [
          'Development Status :: 5 - Production/Stable',
          'Environment :: Console',
          'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
          'Operating System :: Unix',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
           'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities'
      ],
      cmdclass = {
          'test': NoseTestCommand
      }
  )
  
new_contents: #!/usr/bin/env python
  import re
  import codecs
  
  from setuptools import setup
  from setuptools.command.test import test as TestCommand
  
  
  class NoseTestCommand(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = []
          self.test_suite = True
  
      def run_tests(self):
          # Run nose ensuring that argv simulates running nosetests directly
          import nose
          nose.run_exit(argv=['nosetests'])
  
  
  setup(
      name = 'smeterd',
      description = 'Read smart meter P1 packets',
      version = re.search(r'''^__version__\s*=\s*["'](.*)["']''', open('smeterd/__init__.py').read(), re.M).group(1),
      author = 'Nico Di Rocco',
      author_email = 'dirocco.nico@gmail.com',
      url = 'http://nrocco.github.io/',
      license = 'GPLv3',
      long_description = codecs.open('README.rst', 'rb', 'utf-8').read(),
      test_suite='nose.collector',
      download_url = 'http://github.com/nrocco/smeterd/tags',
      include_package_data = True,
      install_requires = [
          'pyserial>=2.7',
          'pycli-tools>=2.0.1',
      ],
      tests_require = [
          'nose',
          'mock',
          'coverage',
      ],
      packages = [
          'smeterd'
      ],
      entry_points = {
          'console_scripts': [
              'smeterd = smeterd.command:parse_and_run',
          ]
      },
      classifiers = [
          'Development Status :: 5 - Production/Stable',
          'Environment :: Console',
          'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
          'Operating System :: Unix',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
           'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Utilities'
      ],
      cmdclass = {
          'test': NoseTestCommand
      }
  )
  
subject: add python 3.5 classifier