Joe Conway wrote:

Gaetano Mendola wrote:

Joe Conway wrote:

# python -c "from distutils.sysconfig import get_python_lib as f; import os; print os.path.join(f(plat_specific=1,standard_lib=1),'config')"
/usr/lib64/python2.3/config


Any other proposals? If not, any objections to the attached patch?


No one, we have to check also for the presence of distutils package installation.
It's not installed by default and I was bitten by it during the RPM building for
RH AS 2.1


What version of python comes with RH2.1?

1.5.2


In any case, the online documentation for python suggests that it is reasonable to expect that distutils is already installed (by default for python >= 1.6, and by the user for python 1.5.2). See:
http://www.python.org/doc/2.2.3/dist/intro.html


If there are no other objections, I'll commit the attached in about 24 hours.

Are you going also to change the configure so it will check the distutils package installation ?



Regards
Gaetano Mendola




---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

Reply via email to