Closed kpdyer closed 10 years ago
Unfortunately, I couldn't find a way to force gmpy's setup.py
to look in /usr/local/include
and /usr/local/lib
for the required gmp depdencies. In BUILDING.windows
we, for now, will resort to downloading gmpy manually and applying
sed -i -e "s/incdirs\ =\ \['\.\/src'\]/incdirs\ =\ \['\.\/src','\/usr\/local\/include'\]/g" setup.py
sed -i -e "s/libdirs\ =\ \[\]/libdirs\ =\ \['\/usr\/local\/lib'\]/g" setup.py
prior to executing setup.py build
.
When executing
pip install gmpy
or attempting to building gmpy from source, it fails to findgmp.h
, despite the fact that it's located in/usr/local/include
.