Replaced new.function with types.FunctionType, to make the code ready
for python 3. Tested with python 2.7 and 3.4, should also work with 2.6
PyString_* do not exist any more in python3, can be still used if
we include numpy/npy_3kcompat.h
Replaced tabs with 8 tabs to solve tab error in python 3.
Also, fixed "raise ImportError" directive to have it working in python
3.
Replaced tabs with 8 spaces, to solve the tab error in python 3.
Also, replaced map() with list(map()), since in python 3 is an iterator
and not a list.
Finally, removed version_cmp, since cmp() does not exist any more in
python 3.
All the changes are still compatible with python 2.
Fixed print for python 3 (still compatible with python 2).
Replaces tabs with 8 spaces, to solve tab error in python 3.
Also, use open() instead of file() to open files.
Finally, fixed print to work in python 3.

All changes are still compatible with python 2.
Fixed print to work with python 3.
Also, use open instead of file to open files.
The changes are still compatible with python 2.
Added preprocessor "if", since import_array() changed from void function
to int function in python 3.
Merge pull-request #27 from aparenti

The changes are needed to make lima working with python 3.
Everything is still compatible with python 2.
Some testing have been done already with:
python 2.6.6, sip 4.9.3, numpy 1.6.2
python 2.7.6, sip 4.15.4, numpy 1.8.0
python 3.4.1, sip 4.15.4, numpy 1.8.0

Conflicts:
	sip/configure.py