old_contents: # -*- coding: utf-8 -*-
  #
  # This software may be modified and distributed under the terms
  # of the MIT license.  See the LICENSE file for details.
  
  from os import path
  from setuptools import setup
  from shutil import rmtree
  import sys
  
  NAME = 'python-logstash-async'
  VERSION = '1.6.4'
  
  here = path.abspath(path.dirname(__file__))
  with open(path.join(here, 'README.rst'), 'rb') as f:
      LONG_DESCRIPTION = f.read().decode('utf-8')
  
  
  if 'bdist_wheel' in sys.argv:
      # Remove previous build dir when creating a wheel build, since if files have been removed
      # from the project, they'll still be cached in the build dir and end up as part of the
      # build, which is really neat!
      for directory in ('build', 'dist', 'python_logstash_async.egg-info'):
          rmtree(directory, ignore_errors=True)
  
  
  setup(
      name=NAME,
      packages=['logstash_async'],
      version=VERSION,
      description='Asynchronous Python logging handler for Logstash.',
      long_description=LONG_DESCRIPTION,
      license='MIT',
      author='Enrico Tröger',
      author_email='enrico.troeger@uvena.de',
      url='https://github.com/eht16/python-logstash-async',
      project_urls={
          'Travis CI': 'https://travis-ci.org/eht16/python-logstash-async/',
          'Source code': 'https://github.com/eht16/python-logstash-async/',
          'Documentation': 'https://python-logstash-async.readthedocs.io/en/stable/',
      },
      keywords='logging logstash asynchronous',
      install_requires=['limits', 'pylogbeat', 'six'],
      setup_requires=['flake8', 'isort'],
      include_package_data=True,
      test_suite='tests',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: System :: Logging',
      ]
  )
  
new_contents: # -*- coding: utf-8 -*-
  #
  # This software may be modified and distributed under the terms
  # of the MIT license.  See the LICENSE file for details.
  
  from os import path
  from setuptools import setup
  from shutil import rmtree
  import sys
  
  NAME = 'python-logstash-async'
  VERSION = '1.6.4'
  
  here = path.abspath(path.dirname(__file__))
  with open(path.join(here, 'README.rst'), 'rb') as f:
      LONG_DESCRIPTION = f.read().decode('utf-8')
  
  
  if 'bdist_wheel' in sys.argv:
      # Remove previous build dir when creating a wheel build, since if files have been removed
      # from the project, they'll still be cached in the build dir and end up as part of the
      # build, which is really neat!
      for directory in ('build', 'dist', 'python_logstash_async.egg-info'):
          rmtree(directory, ignore_errors=True)
  
  
  setup(
      name=NAME,
      packages=['logstash_async'],
      version=VERSION,
      description='Asynchronous Python logging handler for Logstash.',
      long_description=LONG_DESCRIPTION,
      license='MIT',
      author='Enrico Tröger',
      author_email='enrico.troeger@uvena.de',
      url='https://github.com/eht16/python-logstash-async',
      project_urls={
          'Travis CI': 'https://travis-ci.org/eht16/python-logstash-async/',
          'Source code': 'https://github.com/eht16/python-logstash-async/',
          'Documentation': 'https://python-logstash-async.readthedocs.io/en/stable/',
      },
      keywords='logging logstash asynchronous',
      install_requires=['limits', 'pylogbeat', 'six'],
      include_package_data=True,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 3',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: System :: Logging',
      ]
  )
  
subject: Remove unnecessary requirements from setup.py