old_contents: #!/usr/bin/env python
  
  from distutils.core import setup
  
  setup(
      name='ypconfig',
      version='1.0',
      description='Tools required for ypconfig',
      author='Mark Schouten',
      author_email='mark@tuxis.nl',
      url='https://gitlab.tuxis.nl/mark/ypconfig',
      license='Closed',
      py_modules=['ypconfig.Config', 'ypconfig.Netlink'],
      package_dir={'': 'lib'},
      platforms=['linux'],
      data_files=[
      ]
  )
  
new_contents: 
  import os, sys
  
  from setuptools import setup, find_packages
  try:
      from distutils.command.build_py import build_py_2to3 as build_py
  except ImportError:
      from distutils.command.build_py import build_py
  
  major, minor = sys.version_info[:2] # Python version
  
  if major < 3:
      print("We need at least python 3")
      sys.exit(1)
  elif major == 3:
      PYTHON3 = True
      try:
          import lib2to3 # Just a check--the module is not actually used
      except ImportError:
          print("Python 3.X support requires the 2to3 tool.")
          sys.exit(1)
  
  setup(
      name='ypconfig',
      version='1.0',
      description='Tools required for ypconfig',
      author='Mark Schouten',
      author_email='mark@tuxis.nl',
      url='https://gitlab.tuxis.nl/mark/ypconfig',
      license='Closed',
      packages=find_packages('lib'),
      package_dir={'': 'lib'},
      platforms=['linux'],
      data_files=[
      ]
  )
  
subject: Improve setup.py, we NEED python3