old_contents: #!/usr/bin/env python
  
  from distutils.core import setup
  
  setup(name='icalendar',
        version='0.10',
        description='iCalendar support module',
        package_dir = {'': 'src'},
        packages=['icalendar'],
       )
  
new_contents: #!/usr/bin/env python
  
  from distutils.core import setup
  
  f = open('version.txt', 'r')
  version = f.read().strip()
  f.close()
  
  setup(name='icalendar',
        version=version,
        description='iCalendar support module',
        package_dir = {'': 'src'},
        packages=['icalendar'],
       )
  
subject: Tweak so that version information is picked up from version.txt.