def _version_factory(settings):
<EOL>if "<STR_LIT>" not in settings:<EOL><INDENT>return unicode(pyxmpp2_version)<EOL><DEDENT>else:<EOL><INDENT>return u"<STR_LIT>".format(pyxmpp2_version)<EOL><DEDENT>
Factory for the :r:`software_version setting` default.