old_contents: #!/usr/bin/env python
  # -*- encoding: utf-8 -*-
  from __future__ import absolute_import
  from __future__ import print_function
  
  from setuptools import setup
  import unittest
  
  
  def test_suite():
      return unittest.TestLoader().discover('tests', pattern='test_*.py')
  
  with open('README.md', 'r') as fh:
      long_description = fh.read()
  
  setup(
      name='spdx-tools',
      version='0.6.1',
      description='SPDX parser and tools.',
      long_description=long_description,
      long_description_content_type='text/markdown',
      packages=[
          'spdx',
          'spdx.parsers',
          'spdx.parsers.lexers',
          'spdx.writers',
          'examples',
      ],
      include_package_data=True,
      zip_safe=False,
      test_suite='setup.test_suite',
      install_requires=[
          'ply',
          'pyparsing<=1.5.7;python_version<="2.8"',
          'rdflib',
          'six',
          'enum34',
          'Click',
          'pyyaml',
          'xmltodict',
      ],
      python_requires='>=2.7',
      entry_points={
          'console_scripts': [
              'convertor = spdx.cli_tools.convertor:main',
              'parser = spdx.cli_tools.parser:main',
          ],
      },
  
      author='Ahmed H. Ismail',
      author_email='ahm3d.hisham@gmail.com',
      maintainer='Philippe Ombredanne, SPDX group at the Linux Foundation and others',
      maintainer_email='pombredanne@gmail.com',
      url='https://github.com/spdx/tools-python',
      license='Apache-2.0',
      classifiers=[
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python :: 2.7'
      ]
  )
  
new_contents: #!/usr/bin/env python
  # -*- encoding: utf-8 -*-
  from __future__ import absolute_import
  from __future__ import print_function
  
  from setuptools import setup
  import unittest
  
  
  def test_suite():
      return unittest.TestLoader().discover('tests', pattern='test_*.py')
  
  with open('README.md', 'r') as fh:
      long_description = fh.read()
  
  setup(
      name='spdx-tools',
      version='0.6.1',
      description='SPDX parser and tools.',
      long_description=long_description,
      long_description_content_type='text/markdown',
      packages=[
          'spdx',
          'spdx.parsers',
          'spdx.parsers.lexers',
          'spdx.writers',
          'examples',
      ],
      include_package_data=True,
      zip_safe=False,
      test_suite='setup.test_suite',
      install_requires=[
          'ply',
          'pyparsing<=1.5.7;python_version<="2.8"',
          'rdflib',
          'enum34',
          'Click',
          'pyyaml',
          'xmltodict',
      ],
      extra_requires={
          "tests": ["pytest"]
      },
      python_requires='>=3.6',
      entry_points={
          'console_scripts': [
              'convertor = spdx.cli_tools.convertor:main',
              'parser = spdx.cli_tools.parser:main',
              'generate_notice_file = spdx.cli_tools.generate_notice_file:main',
          ],
      },
  
      author='Ahmed H. Ismail',
      author_email='ahm3d.hisham@gmail.com',
      maintainer='Philippe Ombredanne, SPDX group at the Linux Foundation and others',
      maintainer_email='pombredanne@gmail.com',
      url='https://github.com/spdx/tools-python',
      license='Apache-2.0',
      classifiers=[
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python :: 3.6'
          'Programming Language :: Python :: 3.7'
          'Programming Language :: Python :: 3.8'
          'Programming Language :: Python :: 3.9'
      ]
  )
  
subject: fix setup.py