old_contents: #!/usr/bin/env python
  
  import os
  import sys
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  if sys.argv[-1] == 'publish':
      os.system('python setup.py sdist upload')
      sys.exit()
  
  readme = open('README.rst').read()
  doclink = """
  Documentation
  -------------
  
  The full documentation is at http://gryaml.rtfd.org."""
  history = open('HISTORY.rst').read().replace('.. :changelog:', '')
  
  setup(
      name='gryaml',
      version='0.1.0',
      description='Represent Neo4j graph data as YAML.',
      long_description=readme + '\n\n' + doclink + '\n\n' + history,
      author='Wil Cooley',
      author_email='wcooley@nakedape.cc',
      url='https://github.com/wcooley/python-gryaml',
      packages=[
          'gryaml',
      ],
      package_dir={'gryaml': 'gryaml'},
      include_package_data=True,
      install_requires=[
      ],
      license='MIT',
      zip_safe=False,
      keywords='gryaml',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: Implementation :: PyPy',
      ],
  )
  
new_contents: #!/usr/bin/env python
  
  import os
  import sys
  
  from setuptools import setup
  
  readme = open('README.rst').read()
  doclink = """
  Documentation
  -------------
  
  The full documentation is at http://gryaml.rtfd.org."""
  history = open('HISTORY.rst').read().replace('.. :changelog:', '')
  
  setup(
      name='gryaml',
      use_scm_version=True,
      description='Represent Neo4j graph data as YAML.',
      long_description=readme + '\n\n' + doclink + '\n\n' + history,
      author='Wil Cooley',
      author_email='wcooley@nakedape.cc',
      url='https://github.com/wcooley/python-gryaml',
      packages=[
          'gryaml',
      ],
      package_dir={'gryaml': 'gryaml'},
      include_package_data=True,
      install_requires=[
          'py2neo>=2.0,<3',
          'pyyaml',
      ],
      setup_requires=['setuptools_scm'],
      license='MIT',
      zip_safe=False,
      keywords='gryaml',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: Implementation :: PyPy',
      ],
  )
  
subject: Update setup w/requirements & use setuptools_scm for version