old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  import sys
  # from glob import glob
  from setuptools import setup
  
  # import DistUtilsExtra.command.build_extra
  # import DistUtilsExtra.command.build_i18n
  # import DistUtilsExtra.command.clean_i18n
  
  # to update i18n .mo files (and merge .pot file into .po files) run on Linux:
  # ,,python setup.py build_i18n -m''
  
  # silence pyflakes, __VERSION__ is properly assigned below...
  __VERSION__ = '3.4'
  # for line in file('networkmgr').readlines():
  #    if (line.startswith('__VERSION__')):
  #        exec(line.strip())
  PROGRAM_VERSION = __VERSION__
  prefix = sys.prefix
  
  
  def datafilelist(installbase, sourcebase):
      datafileList = []
      for root, subFolders, files in os.walk(sourcebase):
          fileList = []
          for f in files:
              fileList.append(os.path.join(root, f))
          datafileList.append((root.replace(sourcebase, installbase), fileList))
      return datafileList
  
  # ('{prefix}/share/man/man1'.format(prefix=sys.prefix), glob('data/*.1')),
  
  
  data_files = [
      (f'{prefix}/etc/xdg/autostart', ['src/update-station.desktop']),
      (f'{prefix}/share/applications', ['src/update-manager.desktop']),
      (f'{prefix}/lib/update-station', ['src/updateHandler.py']),
      (f'{prefix}/lib/update-station', ['src/need_reboot.json']),
      (f'{prefix}/etc/sudoers.d', ['src/sudoers.d/update-station'])
  
  ]
  
  data_files.extend(datafilelist(f'{prefix}/share/locale', 'build/mo'))
  
  # cmdclass ={
  #             "build" : DistUtilsExtra.command.build_extra.build_extra,
  #             "build_i18n" :  DistUtilsExtra.command.build_i18n.build_i18n,
  #             "clean": DistUtilsExtra.command.clean_i18n.clean_i18n,
  # }
  
  setup(
      name="update-station",
      version=PROGRAM_VERSION,
      description="Update Manager For GhostBSD/FreeBSD",
      license='BSD',
      author='Eric Turgeon',
      url='https://github/GhostBSD/update-station/',
      package_dir={'': '.'},
      data_files=data_files,
      install_requires=['setuptools'],
      scripts=['update-station']
  )
  # cmdclass = cmdclass,
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  import os
  import sys
  # from glob import glob
  from setuptools import setup
  
  # import DistUtilsExtra.command.build_extra
  # import DistUtilsExtra.command.build_i18n
  # import DistUtilsExtra.command.clean_i18n
  
  # to update i18n .mo files (and merge .pot file into .po files) run on Linux:
  # ,,python setup.py build_i18n -m''
  
  # silence pyflakes, __VERSION__ is properly assigned below...
  __VERSION__ = '3.5'
  # for line in file('networkmgr').readlines():
  #    if (line.startswith('__VERSION__')):
  #        exec(line.strip())
  PROGRAM_VERSION = __VERSION__
  prefix = sys.prefix
  
  
  def datafilelist(installbase, sourcebase):
      datafileList = []
      for root, subFolders, files in os.walk(sourcebase):
          fileList = []
          for f in files:
              fileList.append(os.path.join(root, f))
          datafileList.append((root.replace(sourcebase, installbase), fileList))
      return datafileList
  
  # ('{prefix}/share/man/man1'.format(prefix=sys.prefix), glob('data/*.1')),
  
  
  data_files = [
      (f'{prefix}/etc/xdg/autostart', ['src/update-station.desktop']),
      (f'{prefix}/share/applications', ['src/update-manager.desktop']),
      (f'{prefix}/lib/update-station', ['src/updateHandler.py']),
      (f'{prefix}/lib/update-station', ['src/need_reboot.json']),
      (f'{prefix}/etc/sudoers.d', ['src/sudoers.d/update-station'])
  
  ]
  
  data_files.extend(datafilelist(f'{prefix}/share/locale', 'build/mo'))
  
  # cmdclass ={
  #             "build" : DistUtilsExtra.command.build_extra.build_extra,
  #             "build_i18n" :  DistUtilsExtra.command.build_i18n.build_i18n,
  #             "clean": DistUtilsExtra.command.clean_i18n.clean_i18n,
  # }
  
  setup(
      name="update-station",
      version=PROGRAM_VERSION,
      description="Update Manager For GhostBSD/FreeBSD",
      license='BSD',
      author='Eric Turgeon',
      url='https://github/GhostBSD/update-station/',
      package_dir={'': '.'},
      data_files=data_files,
      install_requires=['setuptools'],
      scripts=['update-station']
  )
  # cmdclass = cmdclass,
  
subject: change version to 3.5