@classmethod
    def _build_master(cls):
        ws = cls()
        try:
            from __main__ import __requires__
        except ImportError:
            # The main program does not list any requirements
            return ws

        # ensure the requirements are met
        try:
            ws.require(__requires__)
        except VersionConflict:
            return cls._build_from_requirements(__requires__)

        return ws
Setup the mapper routes.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/WorkingSet._build_master--crossover with--dataset/ETHPy150Open openstack/ooi/ooi/wsgi/__init__.py/OCCIMiddleware._setup_routes