old_contents: #! /usr/bin/env python
  #
  try:
      from setuptools import setup
  except ImportError:
      from distribute_setup import use_setuptools
      use_setuptools()
      from setuptools import setup
  
  setup(
      name = 'stginga',
      version = '0.1.0',
      namespace_packages = ['ginga'],
      provides = ['stginga'],
      packages = ['stginga',
                  'ginga',
                  'ginga.gtk', 'ginga.gtk.plugins',
                  'ginga.misc', 'ginga.misc.plugins',
                  'ginga.qtw', 'ginga.qtw.plugins'],
      package_data = {'ginga': ['data/*', 'examples/*/*']},
      scripts = ['scripts/runstginga'],
      author = 'STScI',
      author_email = 'help@stsci.edu',
      url = "https://github.com/spacetelescope/stginga",
      description = 'Ginga products specific to STScI data analysis',
      long_description = 'Ginga products specific to STScI data analysis',
      classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Scientific/Engineering :: Astronomy',
          'Topic :: Software Development :: Libraries :: Python Modules'],
      zip_safe=False,
      use_2to3=True
  )
  
new_contents: #! /usr/bin/env python
  #
  try:
      from setuptools import setup
  except ImportError:
      from distribute_setup import use_setuptools
      use_setuptools()
      from setuptools import setup
  
  setup(
      name = 'stginga',
      version = '0.1.0',
      namespace_packages = ['ginga'],
      provides = ['stginga'],
      packages = ['stginga',
                  'ginga',
                  'ginga.gtk', 'ginga.gtk.plugins',
                  'ginga.misc', 'ginga.misc.plugins',
                  'ginga.qtw', 'ginga.qtw.plugins'],
      package_data = {'ginga': ['data/*', 'examples/*/*']},
      scripts = ['scripts/stginga'],
      author = 'STScI',
      author_email = 'help@stsci.edu',
      url = "https://github.com/spacetelescope/stginga",
      description = 'Ginga products specific to STScI data analysis',
      long_description = 'Ginga products specific to STScI data analysis',
      classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Scientific/Engineering :: Astronomy',
          'Topic :: Software Development :: Libraries :: Python Modules'],
      zip_safe=False,
      use_2to3=True
  )
  
subject: fix for script name change