view roundup/dist/command/install_lib.py @ 5744:d4de45cde106

Accept header parsing fixes. Now return first acceptable match rather than last. If not acceptable match in accept, 406 error returns list of acceptable types as text string. application/xml is listed in acceptable types only if dicttoxml is installed. Handle q > 1.0 by demoting q factor to 0.0001 making it unusable. Test cases for all this code. XML is commented out as we don't install dicttoxml.py.
author John Rouillard <rouilj@ieee.org>
date Wed, 29 May 2019 22:18:46 -0400
parents 85dfe17c182e
children 42bf0a707763
line wrap: on
line source

from roundup.dist.command.build import build_message_files, check_manifest
from distutils.command.install_lib import install_lib as base

class install_lib(base):

    def run(self):
        check_manifest()
        build_message_files(self)
        base.run(self)

Roundup Issue Tracker: http://roundup-tracker.org/