old_contents: import re
  
  
  explicitnumber = {
      '0x010100f0': '1.1.1',   # bugfix release, no change in hex version
      '0x010200f0': '1.2',
      '0x010300f0': '1.3',
      '0x010400f0': '1.4',
      }
  
  FILES = {
      'Python/pyver.h': re.compile(r'PSYCO_VERSION_HEX\s+(0x[0-9a-fA-F]+)'),
      '../psyco/support.py': re.compile(r'__version__\s*=\s*(0x[0-9a-fA-F]+)'),
      '../doc/psycoguide.tex': re.compile(r'\\release\{([0-9.]+)\}'),
      '../setup.py': re.compile(r'version\s*=\s*\"([0-9.]+)\"'),
      '../../my/psyco/dist/Makefile': re.compile(r'version\s*=\s*([0-9.]+)'),
      '../../my/psyco/site/content/index.rst': re.compile(r'`Psyco ([0-9.]+)@'),
      '../../my/psyco/site/content/download.rst': re.compile(r'Current version is ([0-9.]+)'),
      '../../my/psyco/site/content/./download.rst': re.compile(r'Download Release ([0-9.]+)'),
      '../../my/psyco/site/content/doc.rst': re.compile(r'Psyco release ([0-9.]+)'),
      '../README.txt': re.compile(r'VERSION ([0-9.]+)'),
      }
  
  versions = {}
  for filename, regexp  in FILES.items():
      for line in open(filename, 'r'):
          match = regexp.search(line)
          if match:
              break
      else:
          raise Exception, "No version number found in " + filename
      ver = match.group(1)
      print '%20s  %s' % (ver, filename)
      if ver.startswith('0x'):
          ver = explicitnumber[ver]
      versions[ver] = filename
  
  if len(versions) != 1:
      raise Exception, versions
  else:
      print "versionchecker: ok"
  
new_contents: import re
  
  
  explicitnumber = {
      '0x010100f0': '1.1.1',   # bugfix release, no change in hex version
      '0x010200f0': '1.2',
      '0x010300f0': '1.3',
      '0x010400f0': '1.4',
      }
  
  FILES = {
      'Python/pyver.h': re.compile(r'PSYCO_VERSION_HEX\s+(0x[0-9a-fA-F]+)'),
      '../psyco/support.py': re.compile(r'__version__\s*=\s*(0x[0-9a-fA-F]+)'),
      '../doc/psycoguide.tex': re.compile(r'\\release\{([0-9.]+)\}'),
      '../setup.py': re.compile(r'version\s*=\s*\"([0-9.]+)\"'),
  #    '../../my/psyco/dist/Makefile': re.compile(r'version\s*=\s*([0-9.]+)'),
      '../../www/content/index.rst': re.compile(r'`Psyco ([0-9.]+)@'),
      '../../www/content/download.rst': re.compile(r'Current version is ([0-9.]+)'),
      '../../www/content/./download.rst': re.compile(r'Download Release ([0-9.]+)'),
      '../../www/content/doc.rst': re.compile(r'Psyco release ([0-9.]+)'),
      '../README.txt': re.compile(r'VERSION ([0-9.]+)'),
      }
  
  versions = {}
  for filename, regexp  in FILES.items():
      for line in open(filename, 'r'):
          match = regexp.search(line)
          if match:
              break
      else:
          raise Exception, "No version number found in " + filename
      ver = match.group(1)
      print '%20s  %s' % (ver, filename)
      if ver.startswith('0x'):
          ver = explicitnumber[ver]
      versions[ver] = filename
  
  if len(versions) != 1:
      raise Exception, versions
  else:
      print "versionchecker: ok"
  
subject: Fix local paths.