def METHOD_NAME(self):
    if "+python" in self.spec:
        # gdl installs the python module into prefix/lib/site-python
        # move it to the standard location
        src = os.path.join(self.spec.prefix.lib, "site-python")
        dst = python_platlib
        if os.path.isdir(src):
            if not os.path.isdir(dst):
                mkdirp(dst)
            for f in os.listdir(src):
                os.rename(os.path.join(src, f), os.path.join(dst, f))