old_contents: from setuptools import setup
  from textwrap import dedent
  import subprocess
  
  
  def get_current_commit_hash():
      p = subprocess.Popen(['git', 'rev-parse', 'HEAD'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
      commit_hash = p.communicate()[0].strip()
      return commit_hash
  
  
  long_description = dedent("""\
      ffmpeg-python: Python bindings for FFmpeg
      =========================================
  
      :Github: https://github.com/kkroening/ffmpeg-python
      :API Reference: https://kkroening.github.io/ffmpeg-python/
  """)
  
  
  
  commit_hash = get_current_commit_hash()
  download_url = 'https://github.com/kkroening/ffmpeg-python/archive/{}.zip'.format(commit_hash)
  
  file_formats = [
      'aac',
      'ac3',
      'avi',
      'bmp'
      'flac',
      'gif',
      'mov',
      'mp3',
      'mp4',
      'png',
      'raw',
      'rawvideo',
      'wav',
  ]
  file_formats += ['.{}'.format(x) for x in file_formats]
  
  misc_keywords = [
      '-vf',
      'a/v',
      'audio',
      'dsp',
      'FFmpeg',
      'ffmpeg',
      'ffprobe',
      'filtering',
      'filter_complex',
      'movie',
      'render',
      'signals',
      'sound',
      'streaming',
      'streams',
      'vf',
      'video',
      'wrapper',
  ]
  
  keywords = misc_keywords + file_formats
  
  setup(
      name='ffmpeg-python',
      packages=['ffmpeg'],
      setup_requires=['pytest-runner'],
      tests_require=['pytest'],
      version='0.1.5',
      description='Python bindings for FFmpeg - with support for complex filtering',
      author='Karl Kroening',
      author_email='karlk@kralnet.us',
      url='https://github.com/kkroening/ffmpeg-python',
      download_url=download_url,
      keywords=keywords,
      long_description=long_description,
      install_requires=['future'],
      classifiers=[
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
      ],
  )
  
new_contents: from setuptools import setup
  from textwrap import dedent
  import subprocess
  
  
  def get_current_commit_hash():
      p = subprocess.Popen(['git', 'rev-parse', 'HEAD'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
      commit_hash = p.communicate()[0].strip()
      return commit_hash
  
  
  long_description = dedent("""\
      ffmpeg-python: Python bindings for FFmpeg
      =========================================
  
      :Github: https://github.com/kkroening/ffmpeg-python
      :API Reference: https://kkroening.github.io/ffmpeg-python/
  """)
  
  
  
  commit_hash = get_current_commit_hash()
  download_url = 'https://github.com/kkroening/ffmpeg-python/archive/{}.zip'.format(commit_hash)
  
  file_formats = [
      'aac',
      'ac3',
      'avi',
      'bmp'
      'flac',
      'gif',
      'mov',
      'mp3',
      'mp4',
      'png',
      'raw',
      'rawvideo',
      'wav',
  ]
  file_formats += ['.{}'.format(x) for x in file_formats]
  
  misc_keywords = [
      '-vf',
      'a/v',
      'audio',
      'dsp',
      'FFmpeg',
      'ffmpeg',
      'ffprobe',
      'filtering',
      'filter_complex',
      'movie',
      'render',
      'signals',
      'sound',
      'streaming',
      'streams',
      'vf',
      'video',
      'wrapper',
  ]
  
  keywords = misc_keywords + file_formats
  
  setup(
      name='ffmpeg-python',
      packages=['ffmpeg'],
      setup_requires=['pytest-runner'],
      tests_require=['pytest'],
      version='0.1.6',
      description='Python bindings for FFmpeg - with support for complex filtering',
      author='Karl Kroening',
      author_email='karlk@kralnet.us',
      url='https://github.com/kkroening/ffmpeg-python',
      download_url=download_url,
      keywords=keywords,
      long_description=long_description,
      install_requires=['future'],
      classifiers=[
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
      ],
  )
  
subject: Bump version: 0.1.6