n 2018-10-22 16:44, Jeroen Demeyer wrote:
The entries marked with # <---- are different but I don't know why.

There is a difference in $PYTHONPATH.

When it works, PYTHONPATH equals '/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src/TEST_TMP/support/lib.linux-ppc64le-2.7:/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src:'

Note the trailing colon, which is what makes everything work since that gets translated to the current working directory!

When it fails, PYTHONPATH equals '/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src/TEST_TMP/support/lib.linux-ppc64le-2.7:/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src:/home/jdemeyer/sage-test/local'

...which has sys.prefix added for some reason.
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to