Auto locate Python's .so on Linux (for cx_Freeze's --shared-lib-name)
robert
no-spam at not-existing.invalid
Sun Nov 18 17:24:08 EST 2007
Neal Becker wrote:
> robert wrote:
>
>> In a makefile I want to locate the .so for a dynamically linked
>> Python on Linux. (for cx_Freeze's --shared-lib-name)
>> e.g. by running a small script with that Python. How to?
>>
>> Robert
>
> How about run python -v yourscript and filter the output?
>
for examples here python -v delivers many other python module
paths, but not Python's .so. For example
/usr/lib/libpython2.4.so.1.0
Robert
More information about the Python-list
mailing list