diff options
author | Chris Desjardins <[email protected]> | 2015-07-09 08:58:36 +0200 |
---|---|---|
committer | Chris Desjardins <[email protected]> | 2015-07-10 00:03:54 +0200 |
commit | c83018e1d4ed022bd99b332a65b79124703f5ef3 (patch) | |
tree | a98ffbddd88a31228d4db81decc44310388ee8bb /src/scripts | |
parent | f75ea771465f2c85e8aabbf1a059b5f56af6be24 (diff) |
Remove combine_relnotes references in install script
copy doc/news.rst to installdir/news.txt
Remove combine_relnotes references in install script
copy doc/news.rst to installdir/news.txt
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/install.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py index b91e68b02..d3fb7c124 100755 --- a/src/scripts/install.py +++ b/src/scripts/install.py @@ -16,11 +16,6 @@ import shutil import string import sys -if 'dont_write_bytecode' in sys.__dict__: - sys.dont_write_bytecode = True - -import combine_relnotes - def parse_command_line(args): parser = optparse.OptionParser() @@ -202,8 +197,7 @@ def main(args = None): for f in [f for f in os.listdir(cfg['doc_dir']) if f.endswith('.txt')]: copy_file(os.path.join(cfg['doc_dir'], f), os.path.join(target_doc_dir, f)) - with combine_relnotes.open_for_utf8(os.path.join(target_doc_dir, 'news.txt'), 'w+') as news: - news.write(combine_relnotes.combine_relnotes('doc/relnotes', False)) + copy_file(os.path.join(cfg['doc_dir'], 'news.rst'), os.path.join(target_doc_dir, 'news.txt')) logging.info('Botan %s installation complete', cfg['version']) |