To install codemetrics, run this command in your terminal:
$ pip install codemetrics
This is the preferred method to install codemetrics, as it will always install the most recent stable release.
The sources for codemetrics can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/elmotec/codemetrics
Or download the tarball:
$ curl -OL https://github.com/elmotec/codemetrics/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install