When I create the extension c with python setup.py build, the result is created in a directory named
build/lib.linux-x86_64-2.6/
where the part after is lib.changed using the OS, CPU and Python version.
Is there a way to access the appropriate line for the current architecture from python? Hopefully in a way that is guaranteed to match what distutils creates.
source
share