@@ 1,3 1,4 @@
+
Simple but powerful text-base interactive interface for [https://mercurial-scm.org](mercurial).
[](https://asciinema.org/a/41dn083fyvookt4tf4hakqt7o)
@@ 38,8 38,9 @@ def get_setup():
def get_descriptions():
"""Read descriptions from README"""
- with io.open(b'README.md', b'r', encoding=b'utf-8') as readme:
- readme.readline() # skip encoding declaration
+ config = configparser.ConfigParser()
+ config.read('setup.cfg')
+ with io.open(config.get('metadata', 'description-file'), b'r', encoding=b'utf-8') as readme:
for line in readme:
if line.strip() and not line.startswith('.. '):
description = line.strip()