old_contents: #!/usr/bin/env python
  
  import sys
  import os
  from os.path import join, abspath, basename, dirname
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  
  py = sys.version_info
  if py < (2,7) and py < (3,0):
      raise NotImplementedError("NetRNG requires Python 2.7, Python 3.2+ support will be available when gevent supports Python 3")
  
  def read_file(name, *args):
      try:
          return open(join(dirname(__file__), name),  encoding='utf-8').read(*args)
      except OSError:
          return ''
  
  
  setup(name='netrng',
      version='0.2a0',
      description='A network entropy distribution system',
      long_description=read_file('README.rst'),
      author='Stephen Oliver',
      author_email='steve@infincia.com',
      url='http://infincia.github.io/netrng/',
      scripts=['scripts/netrng-entropycheck.py'],
      data_files=[('conf',  ['conf/netrng.conf.sample', 'conf/netrng.conf.upstart'])],
      py_modules=['netrng'],
      license='MIT',
      keywords='rng hwrng entropy random',
      platforms = 'any',
      install_requires = ['gevent', 'msgpack-python', 'zeroconf'],
      classifiers=['Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.7',
          'Topic :: Software Development :: Libraries',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
  
  
new_contents: #!/usr/bin/env python
  
  import sys
  import os
  from os.path import join, abspath, basename, dirname
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  
  py = sys.version_info
  if py < (2,7) and py < (3,0):
      raise NotImplementedError("NetRNG requires Python 2.7, Python 3.2+ support will be available when gevent supports Python 3")
  
  def read_file(name, *args):
      try:
          return open(join(dirname(__file__), name),  encoding='utf-8').read(*args)
      except OSError:
          return ''
  
  
  setup(name='netrng',
      version='0.2a0',
      description='A network entropy distribution system',
      long_description=read_file('README.rst'),
      author='Stephen Oliver',
      author_email='steve@infincia.com',
      url='http://infincia.github.io/netrng/',
      scripts=['scripts/netrng-entropycheck.py', 'scripts/netrngd.py', 'scripts/netrng_perftest.py'],
      data_files=[('conf',  ['conf/netrng.conf.sample', 'conf/netrng.conf.upstart'])],
      py_modules=['netrng'],
      license='MIT',
      keywords='rng hwrng entropy random',
      platforms = 'any',
      install_requires = ['gevent', 'msgpack-python', 'zeroconf'],
      classifiers=['Development Status :: 3 - Alpha',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.7',
          'Topic :: Software Development :: Libraries',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
  )
  
  
  
subject: Add netrngd and netrng-perftest to scripts in setup.py