old_contents: import paver.doctools
  import paver.setuputils
  
  from schevo.release import setup_meta
  
  
  options(
      setup=setup_meta,
      sphinx=Bunch(
          docroot='doc',
          builddir='build',
          sourcedir='source',
      ),
  )
  
  
  @task
  @needs('paver.doctools.html')
  def openhtml():
      index_file = path('doc/build/html/index.html')
      sh('open ' + index_file)
  
new_contents: from schevo.release import setup_meta
  
  
  options(
      setup=setup_meta,
      sphinx=Bunch(
          docroot='doc',
          builddir='build',
          sourcedir='source',
      ),
  )
  
  
  try:
      import paver.doctools
  except ImportError:
      pass
  else:
      @task
      @needs('paver.doctools.html')
      def openhtml():
          index_file = path('doc/build/html/index.html')
          sh('open ' + index_file)
  
subject: Make paver.doctools optional, to allow for downloading of ==dev eggs