old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  # by Al Nikolov <root@toor.fi.eu.org>
  
  from nixstatsagent.nixstatsagent import __version__
  import os
  import sys
  import setuptools
  
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  readme = open(os.path.join(here, 'README.md')).read()
  if sys.version.startswith('2.4'):
      install_requires = ['psutil==2.1.3', 'netifaces==0.8', 'simplejson==2.1.0']
  else:
      install_requires = ['psutil', 'netifaces']
  
  setuptools.setup(
      name='nixstatsagent',
      version=__version__,
      description='NixStats agent',
      long_description=readme,
      url='https://github.com/NIXStats/nixstatsagent',
      author='NIXStats',
      author_email='vincent@nixstats.com',
      maintainer='Al Nikolov',
      maintainer_email='root@toor.fi.eu.org',
      license='BSD-3-Clause',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: No Input/Output (Daemon)',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 2.4',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: System :: Monitoring',
      ],
      keywords='nixstats system monitoring agent',
      install_requires=install_requires,
      packages=setuptools.find_packages(),
      entry_points={
          'console_scripts': [
              'nixstatsagent=nixstatsagent.nixstatsagent:run_agent',
              'nixstatshello=nixstatsagent.nixstatsagent:hello',
          ],
      },
      data_files=[('share/doc/nixstatsagent', [
          'nixstats-example.ini',
          'LICENSE',
          'README.md',
      ])],
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  # by Al Nikolov <root@toor.fi.eu.org>
  
  from nixstatsagent.nixstatsagent import __version__
  import os
  import sys
  import setuptools
  
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  readme = open(os.path.join(here, 'README.md')).read()
  if sys.version.startswith('2.4'):
      install_requires = ['psutil==2.1.3', 'netifaces==0.8', 'simplejson==2.1.0']
  else:
      install_requires = ['psutil', 'netifaces']
  
  setuptools.setup(
      name='nixstatsagent',
      version=__version__,
      description='NixStats agent',
      long_description=readme,
      url='https://github.com/NIXStats/nixstatsagent',
      author='NIXStats',
      author_email='vincent@nixstats.com',
      maintainer='Al Nikolov',
      maintainer_email='root@toor.fi.eu.org',
      license='BSD-3-Clause',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: No Input/Output (Daemon)',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 2.4',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: System :: Monitoring',
      ],
      keywords='nixstats system monitoring agent',
      install_requires=install_requires,
      packages=setuptools.find_packages(),
      entry_points={
          'console_scripts': [
              'nixstatsagent=nixstatsagent.nixstatsagent:main',
              'nixstatshello=nixstatsagent.nixstatsagent:hello',
          ],
      },
      data_files=[('share/doc/nixstatsagent', [
          'nixstats-example.ini',
          'LICENSE',
          'README.md',
      ])],
  )
  
subject: Edit setup.py to correct pip pack creation