Mercurial > kallithea
comparison setup.py @ 867:d9c8dddb96af rhodecode-0.0.1.1.0
fixed error in setup.py RST generation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 18 Dec 2010 17:58:36 +0100 |
parents | 3d0661b8aaa4 |
children | c165349fdd0e |
comparison
equal
deleted
inserted
replaced
866:d3de1fb19ab0 | 867:d9c8dddb96af |
---|---|
39 'build in push/pull server and full text search') | 39 'build in push/pull server and full text search') |
40 #long description | 40 #long description |
41 try: | 41 try: |
42 readme_file = 'README.rst' | 42 readme_file = 'README.rst' |
43 changelog_file = 'docs/changelog.rst' | 43 changelog_file = 'docs/changelog.rst' |
44 long_description = open(readme_file).read() + '/n/n' + \ | 44 long_description = open(readme_file).read() + '\n\n' + \ |
45 open(changelog_file).read() | 45 open(changelog_file).read() |
46 | 46 |
47 except IOError, err: | 47 except IOError, err: |
48 sys.stderr.write("[WARNING] Cannot find file specified as " | 48 sys.stderr.write("[WARNING] Cannot find file specified as " |
49 "long_description (%s)\n or changelog (%s) skipping that file" \ | 49 "long_description (%s)\n or changelog (%s) skipping that file" \ |