gsl-config must be on your path:
# unpack the source distribution gzip -d -c pygsl-x.y.z.tar.gz|tar xvf- cd pygsl-x.y.z # do this with your prefered python version # to set the gsl location explicitly use setup.py --gsl-prefix=/path/to/gsl python setup.py build # change to an user id, that is allowed to do installation python setup.py install
Do not test the interface in the distribution root or in the directories src or pygsl.