~mgedmin/imgdiff/trunk

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Marius Gedminas
  • Date: 2010-12-19 00:40:32 UTC
  • Revision ID: marius@gedmin.as-20101219004032-8wkxdjdw2b1sjjg6
Fix PyPI long_description URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
def get_description():
29
29
    readme = read('README.txt')
30
 
    readme = readme.replace('example.png',
31
 
                            'http://packages.python.org/imgdiff/example.png')
 
30
    readme = readme.replace('.. figure:: ',
 
31
                            '.. figure:: http://packages.python.org/imgdiff/')
32
32
    changelog = read('CHANGES.txt')
33
33
    return readme + '\n\n\n' + changelog
34
34