It looks like currency.pyx uses__eq__
method, which was introduced in cython 0.27. The docs state the minimum required version for cython is 0.24.1.
If a later version of cython is not necessary it would be great to implement the__eq__
method through__richcmp__