@paver.easy.task
def upload_project_web():
 import docutils.core
 docutils.core.publish_file(source_path='README', destination_path='readme.html', writer_name='html')
 cmd = ('pscp' if (platform.system() == 'Windows') else 'scp')
 paver.easy.sh('{cmd} readme.html web.sourceforge.net:/home/project-web/python-irclib/htdocs/index.html'.format(cmd=cmd))
 os.remove('readme.html')

@ paver . easy . task def upload_project_web ( ) : import docutils . core docutils . core . publish_file ( source_path = 'README' , destination_path = 'readme.html' , writer_name = 'html' ) cmd = ( 'pscp' if ( platform . system ( ) == 'Windows' ) else 'scp' ) paver . easy . sh ( '{cmd} readme.html web.sourceforge.net:/home/project-web/python-irclib/htdocs/index.html' . format ( cmd = cmd ) ) os . remove ( 'readme.html' )
generate the project web page at sourceforge using the restructuredtext readme .