old_contents: """Release data for NetworkX."""
  
  #    Copyright (C) 2004-2008 by 
  #    Aric Hagberg <hagberg@lanl.gov>
  #    Dan Schult <dschult@colgate.edu>
  #    Pieter Swart <swart@lanl.gov>
  #    Distributed under the terms of the GNU Lesser General Public License
  #    http://www.gnu.org/copyleft/lesser.html
  
  
  import os
  import re
  
  
  def get_svn_revision():
      #import networkx
      rev = None
      path ="."
      entries_path = '%s/.svn/entries' % path
      if os.path.exists(entries_path):
          entries = open(entries_path, 'r').read()
          # Versions >= 7 of the entries file are flat text.  The first line is
          # the version number. The next set of digits after 'dir' is the revision.
          if re.match('(\d+)', entries):
              rev_match = re.search('\d+\s+dir\s+(\d+)', entries)
              if rev_match:
                  rev = rev_match.groups()[0]
      if rev:
          return 'dev%s' % rev
      return None
  
  
  name = 'networkx'
  version = '0.99'
  revision = get_svn_revision()
  if revision is not None:
      version+=".%s"%revision
  
  description = "Python package for creating and manipulating graphs and networks"
  
  long_description = \
  """
  NetworkX is a Python package for the creation, manipulation, and
  study of the structure, dynamics, and functions of complex networks.  
  
  """
  license = 'LGPL'
  authors = {'Hagberg' : ('Aric Hagberg','hagberg@lanl.gov'),
             'Schult' : ('Dan Schult','dschult@colgate.edu'),
             'Swart' : ('Pieter Swart','swart@lanl.gov')
             }
  url = 'http://networkx.lanl.gov/'
  download_url="http://networkx.lanl.gov/download/networkx"
  platforms = ['Linux','Mac OSX','Windows XP/2000/NT']
  keywords = ['Networks', 'Graph Theory', 'Mathematics', 'network', 'graph', 'discrete mathematics', 'math']
  classifiers = [
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Topic :: Scientific/Engineering :: Physics',
          ]
  
  # Get date dynamically
  import time
  date = time.asctime()
  del time
  
  
new_contents: """Release data for NetworkX."""
  
  #    Copyright (C) 2004-2008 by 
  #    Aric Hagberg <hagberg@lanl.gov>
  #    Dan Schult <dschult@colgate.edu>
  #    Pieter Swart <swart@lanl.gov>
  #    Distributed under the terms of the GNU Lesser General Public License
  #    http://www.gnu.org/copyleft/lesser.html
  
  
  import os
  import re
  
  
  def get_svn_revision():
      #import networkx
      rev = None
      path ="."
      entries_path = '%s/.svn/entries' % path
      if os.path.exists(entries_path):
          entries = open(entries_path, 'r').read()
          # Versions >= 7 of the entries file are flat text.  The first line is
          # the version number. The next set of digits after 'dir' is the revision.
          if re.match('(\d+)', entries):
              rev_match = re.search('\d+\s+dir\s+(\d+)', entries)
              if rev_match:
                  rev = rev_match.groups()[0]
      if rev:
          return 'dev%s' % rev
      return None
  
  
  name = 'networkx'
  version = '1.0'
  revision = get_svn_revision()
  if revision is not None:
      version+=".%s"%revision
  
  description = "Python package for creating and manipulating graphs and networks"
  
  long_description = \
  """
  NetworkX is a Python package for the creation, manipulation, and
  study of the structure, dynamics, and functions of complex networks.  
  
  """
  license = 'LGPL'
  authors = {'Hagberg' : ('Aric Hagberg','hagberg@lanl.gov'),
             'Schult' : ('Dan Schult','dschult@colgate.edu'),
             'Swart' : ('Pieter Swart','swart@lanl.gov')
             }
  url = 'http://networkx.lanl.gov/'
  download_url="http://networkx.lanl.gov/download/networkx"
  platforms = ['Linux','Mac OSX','Windows XP/2000/NT']
  keywords = ['Networks', 'Graph Theory', 'Mathematics', 'network', 'graph', 'discrete mathematics', 'math']
  classifiers = [
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Topic :: Scientific/Engineering :: Physics',
          ]
  
  # Get date dynamically
  import time
  date = time.asctime()
  del time
  
  
subject: bump release to networkx