Install CSSTidy on shared hosting


For my django project i need of csstidy to compress css files.
But i haven’t root access on shared hosting, so i ask if there are some ways to install csstidy or simulate virtual environment where installing csstidy, similar to virtualenv for python package.
IS there a solution?