Auto locate Python's .so on Linux (for cx_Freeze's --shared-lib-name)

Neal Becker ndbecker2 at gmail.com
Sun Nov 18 09:43:42 EST 2007


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?




More information about the Python-list mailing list