tslib
Yet another attempt to create a useful nens library for manipulating time series.
Building tslib
Since tslib is basically a wrapper around pandas, which is built on top of Numpy, this transitive dependency needs to be installed first. On Ubuntu, this is most easily done via:
sudo apt-get install python-numpy
Instructions for other platforms may be found here.
To build pandas, we'll need Python header files (installing it via your package manager will probably not give you an up-to-date version, because, at the time of writing, pandas is being actively developed, with new releases every month). On Ubuntu:
sudo apt-get install python-dev
For fast XML parsing, lxml is used (lxml can also be built from source, as long as libxml2-dev and libxslt-dev are installed):
sudo apt-get install python-lxml
If all is well and git is present, tslib should now build smoothly:
git clone https://github.com/nens/tslib.git cd tslib python bootstrap.py bin/buildout
You can verify this by running the tests:
bin/test