[cig-commits] r5411 - mc/3D/CitcomS/trunk
leif at geodynamics.org
leif at geodynamics.org
Fri Dec 1 14:00:26 PST 2006
Author: leif
Date: 2006-12-01 14:00:25 -0800 (Fri, 01 Dec 2006)
New Revision: 5411
Modified:
mc/3D/CitcomS/trunk/configure.ac
Log:
Fix for infinite regress when builddir == srcdir. !@#$%*
The .pth/sitedir/sys.path/PYTHONPATH aspect of eggs is really
irritating. I hope setuptools becomes a part of the standard
Python distro, as the Python core developers are likely to
accept it uncritically and unmodified (as they are wont to do,
apparently -- judging by all the other crap that is in the
standard library). God willing, this will further accelerate
the death of the language.
Modified: mc/3D/CitcomS/trunk/configure.ac
===================================================================
--- mc/3D/CitcomS/trunk/configure.ac 2006-12-01 21:56:58 UTC (rev 5410)
+++ mc/3D/CitcomS/trunk/configure.ac 2006-12-01 22:00:25 UTC (rev 5411)
@@ -71,6 +71,9 @@
[],
[AC_MSG_FAILURE([building Python dependencies])])
+ # When builddir == srcdir, this causes an infinite regress.
+ rm -f CitcomS.egg-link
+
AC_MSG_CHECKING([for egg-related flags])
AS_IF([AC_TRY_COMMAND([$PYTHON setup.py egg_flags >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD])],
[AC_MSG_RESULT(ok)
More information about the cig-commits
mailing list