Logo Search packages:      
Sourcecode: radicale version File versions  Download package

def setup::Clean::run (   self )
Run clean up.

Definition at line 66 of file setup.py.

                 :
        """Run clean up."""
        path = os.path.abspath(os.path.dirname(__file__))
        for pathname, _, files in os.walk(path):
            for filename in filter(self._should_remove, files):
                os.unlink(os.path.join(pathname, filename))

        for folder in ("build", "dist"):
            if os.path.isdir(os.path.join(path, folder)):
                shutil.rmtree(os.path.join(path, folder))

        if os.path.isfile(os.path.join(path, "MANIFEST")):
            os.unlink(os.path.join(path, "MANIFEST"))


Generated by  Doxygen 1.6.0   Back to index