def METHOD_NAME(self):
    """Custom build step for wxPython."""
    if LooseVersion(self.version) >= LooseVersion("4"):
        prebuild_opts = self.cfg['prebuildopts']
        script = 'build.py'
        self.wxflag = ''
        if get_software_root('wxWidgets'):
            self.wxflag = '--use_syswx'
        BUILD_CMD = "%(prebuild_opts)s %(pycmd)s %(script)s --prefix=%(prefix)s -v"
        base_cmd = BUILD_CMD % {
            'prebuild_opts': prebuild_opts,
            'pycmd': self.python_cmd,
            'script': script,
            'prefix': self.installdir,
        }
        # Do we need to build wxWidgets internally?
        if self.wxflag == '':
            cmd = base_cmd + " build_wx"
            run_cmd(cmd, log_all=True, simple=True)
        cmd = base_cmd + " %s build_py" % self.wxflag
        run_cmd(cmd, log_all=True, simple=True)