diff --git a/buildenliven.py b/buildenliven.py index 796eb15..04c2476 100755 --- a/buildenliven.py +++ b/buildenliven.py @@ -184,6 +184,7 @@ def main(): ''.format(gameConfName, tryGameDir) ) config = configparser.ConfigParser() + # ^ or: from pycodetool.parsing import ConfigParser with open(gameConfPath, 'r') as ins: config.read_string('[top]\n' + ins.read()) # ^ insert a section since ConfigParser requires sections. diff --git a/setup.py b/setup.py index 2f991b2..fef789d 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,9 @@ if os.path.isfile("requirements.txt"): continue install_requires.append(line) -description = '''Manage Minetest using Python.''' +description = ( + "Manage Minetest using Python." +) long_description = description if os.path.isfile("readme.md"): with open("readme.md", "r") as fh: @@ -47,6 +49,7 @@ setuptools.setup( ' GNU General Public License v2 or later (GPLv2+)'), 'Operating System :: POSIX :: Linux', 'Topic :: Software Development :: Version Control', + 'Topic :: System :: Installation/Setup', ], keywords=('minetest repo management commit data analyzer' ' meld merge compare files diff'),