[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better python detection
On Tue, 8 Jul 2003 14:11:46 +0200
> I got this patch from our python maintainer who also told me it can
> safely be included upstream, so please consider.
Not all that safely, it doesn't work here:
$ python -V
Python 2.2.2
$ python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1)'
/usr/lib/python2.2
$ python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_version()'
Traceback (most recent call last):
File "<string>", line 1, in ?
AttributeError: 'module' object has no attribute 'get_python_version'
--
Peter Zelezny.
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/