old_contents: """Setuptools packaging configuration for pyperf."""
  
  from setuptools import setup
  from setuptools import find_packages
  
  
  with open('README.rst') as f:
  
      README = f.read()
  
  setup(
      name='py-perf',
      version='0.0.1',
      url='https://github.com/kevinconway/PyPerf',
      license="Apache2",
      description='A service for profiling Python snippets.',
      author='Kevin Conway',
      author_email='kevinjacobconway@gmail.com',
      long_description=README,
      classifiers=[],
      packages=find_packages(exclude=['tests', 'build', 'dist', 'docs']),
      install_requires=[
          'psutil',
          'memory_profiler',
          'daemons',
          'six',
          'amqp',
          'stevedore',
      ],
      entry_points={
          "pyperf_messages": [
              "profile_request = pyperf.messages:ProfileRequest",
              "profile_response = pyperf.messages:ProfileResponse",
              "profile_failure = pyperf.messages:ProfileFailure",
          ],
          "pyperf_transports": [
              "amqp = pyperf.transports.amqp:AmqpTransport",
          ],
      },
      include_package_data=True,
      zip_safe=False,
  )
  
new_contents: """Setuptools packaging configuration for pyperf."""
  
  from setuptools import setup
  from setuptools import find_packages
  
  
  with open('README.rst') as f:
  
      README = f.read()
  
  setup(
      name='py-perf',
      version='0.0.1',
      url='https://github.com/kevinconway/PyPerf',
      license="Apache2",
      description='A service for profiling Python snippets.',
      author='Kevin Conway',
      author_email='kevinjacobconway@gmail.com',
      long_description=README,
      classifiers=[],
      packages=find_packages(exclude=['tests', 'build', 'dist', 'docs']),
      install_requires=[
          'psutil',
          'memory_profiler',
          'daemons',
          'six',
          'amqp',
          'stevedore',
      ],
      entry_points={
          "pyperf_messages": [
              "profile_request = pyperf.messages:ProfileRequest",
              "profile_response = pyperf.messages:ProfileResponse",
              "profile_failure = pyperf.messages:ProfileFailure",
          ],
          "pyperf_transports": [
              "amqp = pyperf.transports.amqp:AmqpTransport",
          ],
          "pyperf_profilers": [
              "runtime = pyperf.profilers.runtime:RuntimeProfiler",
              "memory_max = pyperf.profilers.memory:MaxMemoryProfiler",
              "memory_min = pyperf.profilers.memory:MinMemoryProfiler",
              "memory_avg = pyperf.profilers.memory:AvgMemoryProfiler",
          ],
      },
      include_package_data=True,
      zip_safe=False,
  )
  
subject: Add entry_point for profiler implementations