Commit 89981722 authored by idle sign's avatar idle sign

`metadata` aliases update.

parent 21333fe8
......@@ -21,6 +21,7 @@ class ConfigHandler(object):
aliases = {}
"""Options aliases.
For compatibility with various packages. E.g.: d2to1 and pbr.
Note: `-` in keys is replaced with `_` by config parser.
"""
......@@ -227,7 +228,6 @@ class ConfigMetadataHandler(ConfigHandler):
section_prefix = 'metadata'
aliases = {
'author-email': 'author_email',
'home_page': 'url',
'summary': 'description',
'classifier': 'classifiers',
......
......@@ -92,7 +92,7 @@ class TestMetadata:
tmpdir,
'[metadata]\n'
'author-email = test@test.com\n'
'home_page = http://test.test.com/test/\n'
'home-page = http://test.test.com/test/\n'
'summary = Short summary\n'
'platform = a, b\n'
'classifier =\n'
......
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