Commit 86c55cc8 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify documentation generation.

parent d06e6d12
...@@ -8,9 +8,7 @@ long_description = open("README.txt").read() + "\n" + \ ...@@ -8,9 +8,7 @@ long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read() + "\n" open("CHANGES.txt").read() + "\n"
for f in glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt')): for f in glob.glob(os.path.join('slapos', 'recipe', 'README.*.txt')):
subname = os.path.basename(f) long_description += '\n' + open(f).read() + '\n'
long_description += subname + '\n' + '=' * len(subname) + '\n\n' \
+ open(f).read() + '\n'
# extras_requires are not used because of # extras_requires are not used because of
# https://bugs.launchpad.net/zc.buildout/+bug/85604 # https://bugs.launchpad.net/zc.buildout/+bug/85604
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment