old_contents: from setuptools import setup
  from sys import version_info
  from pydnstest.version import VERSION
  
  # different requirements for py2x and py3x
  # will this work right? I have no idea...
  if version_info.major == 3:
      pyver_requires = [
          "py3dns==3.0.4",
          "pyparsing==2.0.1",
      ]
  else:
      pyver_requires = [
          "pydns==2.3.6",
          "pyparsing==1.5.7",
      ]
  
  with open('README.rst') as file:
      long_description = file.read()
  
  classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Console',
      'Intended Audience :: System Administrators',
      'Intended Audience :: Information Technology',
      'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
      'Natural Language :: English',
      'Operating System :: POSIX',
      'Programming Language :: Python',
      'Topic :: Internet :: Name Service (DNS)'
  ]
  
  setup(
      name='pydnstest',
      version=VERSION,
      author='Jason Antman',
      author_email='jason@jasonantman.com',
      packages=['pydnstest', 'pydnstest.tests'],
      scripts=['bin/pydnstest'],
      url='http://github.com/jantman/pydnstest/',
      license='AGPLv3+',
      description='Tool to test DNS changes on a staging server and verify in production',
      long_description=long_description,
      install_requires=pyver_requires,
      keywords="dns testing pydns",
      classifiers=classifiers
  )
  
new_contents: from setuptools import setup
  from sys import version_info
  from pydnstest.version import VERSION
  
  if version_info[0] == 3:
      pyver_requires = [
          "py3dns==3.0.4",
          "pyparsing==2.0.1",
      ]
  else:
      pyver_requires = [
          "pydns==2.3.6",
          "pyparsing==1.5.7",
      ]
  
  with open('README.rst') as file:
      long_description = file.read()
  
  classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Console',
      'Intended Audience :: System Administrators',
      'Intended Audience :: Information Technology',
      'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
      'Natural Language :: English',
      'Operating System :: POSIX',
      'Programming Language :: Python',
      'Topic :: Internet :: Name Service (DNS)'
  ]
  
  setup(
      name='pydnstest',
      version=VERSION,
      author='Jason Antman',
      author_email='jason@jasonantman.com',
      packages=['pydnstest', 'pydnstest.tests'],
      scripts=['bin/pydnstest'],
      url='http://github.com/jantman/pydnstest/',
      license='AGPLv3+',
      description='Tool to test DNS changes on a staging server and verify in production',
      long_description=long_description,
      install_requires=pyver_requires,
      keywords="dns testing pydns",
      classifiers=classifiers
  )
  
subject: update setup.py version_info to work with py<=26