old_contents: import sys
  from epsilon.setuphelper import autosetup
  
  import renamer
  
  
  
  def scripts():
      if sys.platform == 'win32':
          return ['bin/rn.cmd']
      return ['bin/rn']
  
  
  
  distobj = autosetup(
      name="Renamer",
      version=renamer.version.short(),
      maintainer="Jonathan Jacobs",
      url="http://launchpad.net/renamer",
      license="MIT",
      platforms=["any"],
      description="A mass file renamer with plugin support",
      classifiers=[
          "Intended Audience :: End Users/Desktop",
          "Programming Language :: Python",
          "Development Status :: 3 - Alpha",
          "Topic :: Utilities"],
      scripts=scripts())
  
new_contents: import sys
  from epsilon.setuphelper import autosetup
  
  import renamer
  
  
  
  def scripts():
      if sys.platform == 'win32':
          yield 'bin/rn.cmd'
      yield 'bin/rn'
  
  
  
  distobj = autosetup(
      name="Renamer",
      version=renamer.version.short(),
      maintainer="Jonathan Jacobs",
      url="http://launchpad.net/renamer",
      license="MIT",
      platforms=["any"],
      description="A mass file renamer with plugin support",
      classifiers=[
          "Intended Audience :: End Users/Desktop",
          "Programming Language :: Python",
          "Development Status :: 3 - Alpha",
          "Topic :: Utilities"],
      scripts=list(scripts()))
  
subject: Tweak setup.py.