'Prepare the master working set.'

@classmethod
def _build_master(cls):

    ws = cls()
    try:
        from __main__ import __requires__
    except ImportError:
        return ws
    try:
        ws.require(__requires__)
    except VersionConflict:
        return cls._build_from_requirements(__requires__)
    return ws
