old_contents: import glob
  import os
  import stat
  from distutils.core import setup
  from distutils.extension import Extension
  
  setup(
      name        = "Roundware Server",
      version     = "2.0",
      description = 'Roundware Server',
      author      = 'Mike MacHenry, Ben McAllister',
      author_email    = 'contact@roundware.org',
      url     = 'http://roundware.sourceforge.net',
      license     = 'LGPL',
      scripts     = glob.glob('bin/*'),
      packages    = ["roundware.rw", "roundware", "roundwared", "roundware.geoposition"],
  #   data_files = [
  #       ('/usr/lib/cgi-bin', glob.glob('cgi-bin/*.py')),
  #       ('/var/www/roundware', glob.glob('www/*py')),
  #       ('/etc/dbus-1/system.d', ['data_files/org.roundware.StreamScript.conf']),
  #   ],
  )
  
  # chmod all cgi-bin files to executable.
  for file in glob.glob('cgi-bin/*.py'):
      os.chmod(
          os.path.join('/usr/lib/cgi-bin', os.path.basename(file)),
          stat.S_IRWXU | stat.S_IROTH | stat.S_IXOTH | stat.S_IXGRP | stat.S_IRGRP)
  
new_contents: import glob
  import os
  import stat
  from distutils.core import setup
  from distutils.extension import Extension
  
  setup(
      name        = "Roundware Server",
      version     = "2.0",
      description = 'Roundware Server',
      author      = 'Mike MacHenry, Ben McAllister',
      author_email    = 'contact@roundware.org',
      url     = 'http://roundware.sourceforge.net',
      license     = 'LGPL',
      scripts     = glob.glob('bin/*'),
      packages    = ["roundware.rw", "roundware", "roundwared", "roundware.geoposition", "roundware.notifications"],
  #   data_files = [
  #       ('/usr/lib/cgi-bin', glob.glob('cgi-bin/*.py')),
  #       ('/var/www/roundware', glob.glob('www/*py')),
  #       ('/etc/dbus-1/system.d', ['data_files/org.roundware.StreamScript.conf']),
  #   ],
  )
  
  # chmod all cgi-bin files to executable.
  for file in glob.glob('cgi-bin/*.py'):
      os.chmod(
          os.path.join('/usr/lib/cgi-bin', os.path.basename(file)),
          stat.S_IRWXU | stat.S_IROTH | stat.S_IXOTH | stat.S_IXGRP | stat.S_IRGRP)
  
subject: change to setup.py to add roundware.notifications